From 1b316145dbba389cc5c8b6fe5cbfb622b379bd6a Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 13 May 2025 12:48:51 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 187629 --- .../updatable_asset_item_request_builder.py | 14 +- .../compliance_change_item_request_builder.py | 14 +- .../invite/invite_request_builder.py | 6 +- .../ai_insights_request_builder.py | 6 +- .../call_ai_insight_item_request_builder.py | 6 +- .../invite/invite_request_builder.py | 6 +- .../ai_insights_request_builder.py | 6 +- .../call_ai_insight_item_request_builder.py | 6 +- .../assignments_request_builder.py | 6 +- ...uration_assignment_item_request_builder.py | 6 +- ...enrollment_profile_item_request_builder.py | 30 ++ ...evice_membership_target_request_builder.py | 77 ++++++ ...evice_membership_target_request_builder.py | 81 ++++++ ...ice_membership_target_post_request_body.py | 57 ++++ ...evice_membership_target_request_builder.py | 89 ++++++ ...log_collection_requests_request_builder.py | 6 +- ...collection_request_item_request_builder.py | 6 +- .../reports/reports_request_builder.py | 10 + ...ce_migration_statuses_post_request_body.py | 82 ++++++ ...vice_migration_statuses_request_builder.py | 86 ++++++ .../role_definition_request_builder.py | 6 +- .../role_scope_tag_item_request_builder.py | 6 +- .../role_scope_tags_request_builder.py | 6 +- .../role_definition_request_builder.py | 6 +- .../bulk_action_post_request_body.py | 61 ++++ .../bulk_action_request_builder.py | 89 ++++++ ...alog_item_details_with_ids_get_response.py | 58 ++++ ...g_item_details_with_ids_request_builder.py | 125 +++++++++ ...lity_update_policy_item_request_builder.py | 23 ++ .../hardware_oath_devices_request_builder.py | 6 +- .../retention_label_request_builder.py | 6 +- .../names/item/range/range_request_builder.py | 6 +- .../tables/add/add_request_builder.py | 6 +- .../names/item/range/range_request_builder.py | 6 +- .../item/tables/add/add_request_builder.py | 6 +- .../external_item_item_request_builder.py | 6 +- .../item/schema/schema_request_builder.py | 6 +- .../data_connectors_request_builder.py | 6 +- ...try_data_connector_item_request_builder.py | 6 +- .../conversations_request_builder.py | 6 +- .../item/reply/reply_request_builder.py | 6 +- .../item/reply/reply_request_builder.py | 6 +- ...tication_extension_item_request_builder.py | 8 +- ..._callout_extension_item_request_builder.py | 6 +- ...workflow_extension_item_request_builder.py | 6 +- .../item/agreement_item_request_builder.py | 8 +- .../risky_users_request_builder.py | 8 +- msgraph_beta/generated/kiota-dom-export.txt | 261 +++++++++++++++++- msgraph_beta/generated/kiota-lock.json | 4 +- msgraph_beta/generated/models/action_item.py | 6 +- .../generated/models/activities_container.py | 2 +- .../generated/models/agentic/agent_sign_in.py | 65 +++++ .../generated/models/agentic/agent_type.py | 9 + .../generated/models/ai_interaction_plugin.py | 6 +- .../generated/models/ai_online_meeting.py | 2 +- msgraph_beta/generated/models/ai_user.py | 2 +- .../models/android_compliance_policy.py | 2 +- .../android_device_owner_compliance_policy.py | 52 ++-- .../android_for_work_compliance_policy.py | 2 +- .../android_work_profile_compliance_policy.py | 2 +- .../aosp_device_owner_compliance_policy.py | 2 +- msgraph_beta/generated/models/application.py | 2 +- .../generated/models/audience_restriction.py | 2 +- .../generated/models/binary_content.py | 2 +- .../models/bulk_catalog_item_action_result.py | 61 ++++ .../generated/models/call_ai_insight.py | 14 +- .../models/call_ai_insight_view_point.py | 2 +- .../models/classifcation_error_base.py | 8 +- .../generated/models/classification_error.py | 2 +- .../models/classification_inner_error.py | 8 +- .../generated/models/content_activity.py | 4 +- .../models/copilot_admin_limited_mode.py | 4 +- .../generated/models/copilot_admin_setting.py | 2 +- ...vice_and_app_management_role_assignment.py | 4 +- .../models/device_enrollment_configuration.py | 7 + ...gement_configuration_setting_definition.py | 14 +- ...ion_setting_group_collection_definition.py | 4 +- ...configuration_simple_setting_definition.py | 8 +- ...uration_string_setting_value_definition.py | 6 +- ...ment_time_device_membership_target_type.py | 2 - ...membership_target_validation_error_code.py | 2 - msgraph_beta/generated/models/entity.py | 7 + .../generated/models/extended_key_usage.py | 4 +- .../models/identifier_uri_configuration.py | 2 +- .../models/identifier_uri_restriction.py | 2 +- msgraph_beta/generated/models/identity.py | 4 +- .../models/integrated_application_metadata.py | 4 +- .../generated/models/ios_compliance_policy.py | 2 +- .../ios_lob_app_provisioning_configuration.py | 4 +- .../models/ios_minimum_operating_system.py | 24 +- .../models/key_credential_configuration.py | 2 +- .../mac_o_s_minimum_operating_system.py | 30 +- msgraph_beta/generated/models/meeting_note.py | 6 +- .../generated/models/meeting_note_subpoint.py | 4 +- .../generated/models/mention_event.py | 6 +- .../mobile_app_troubleshooting_event.py | 2 +- .../models/mobile_threat_defense_connector.py | 8 + .../models/networkaccess/connection.py | 54 ++-- .../networkaccess/connection_summary.py | 2 +- .../generated/models/networkaccess/logs.py | 2 +- .../generated/models/notify_user_action.py | 8 +- .../generated/models/online_meeting.py | 2 +- .../models/operation_approval_policy_type.py | 4 +- .../password_credential_configuration.py | 2 +- .../generated/models/policy_location.py | 2 +- .../models/process_content_batch_request.py | 4 +- .../models/process_content_metadata_base.py | 18 +- .../models/process_content_request.py | 2 +- .../models/process_content_response.py | 4 +- .../models/process_content_responses.py | 2 +- .../models/process_conversation_metadata.py | 6 +- .../generated/models/process_file_metadata.py | 4 +- .../models/protected_application_metadata.py | 2 +- msgraph_beta/generated/models/report.py | 2 +- .../generated/models/role_assignment.py | 10 +- msgraph_beta/generated/models/sign_in.py | 7 + msgraph_beta/generated/models/text_content.py | 2 +- msgraph_beta/generated/models/user.py | 2 +- .../user_data_security_and_governance.py | 2 +- .../generated/models/win32_lob_app.py | 4 + .../windows_domain_join_configuration.py | 2 +- ...windows_quality_update_approval_setting.py | 82 ++++++ .../windows_quality_update_approval_status.py | 12 + ...ality_update_catalog_item_policy_detail.py | 73 +++++ .../models/windows_quality_update_policy.py | 7 + ...ndows_quality_update_policy_action_type.py | 10 + ...lity_update_policy_approval_method_type.py | 10 + ...restore_device_enrollment_configuration.py | 63 +++++ ...ate_authentication_method_configuration.py | 7 + .../x509_certificate_authority_scope.py | 69 +++++ .../connections_request_builder.py | 7 +- .../item/connection_item_request_builder.py | 7 +- ...time_with_end_date_time_request_builder.py | 7 +- ...dentity_synchronization_request_builder.py | 6 +- ...token_validation_policy_request_builder.py | 8 +- .../cloud_p_c/cloud_p_c_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...import_resource_actions_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../authentication_context_request_builder.py | 3 + .../resource_scope_request_builder.py | 7 + ...ac_resource_action_item_request_builder.py | 7 + .../resource_actions_request_builder.py | 6 + ...resource_namespace_item_request_builder.py | 7 + .../resource_namespaces_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../app_scopes/app_scopes_request_builder.py | 6 + .../app_scopes/count/count_request_builder.py | 3 + .../item/app_scope_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../directory_scopes_request_builder.py | 4 + .../directory_object_item_request_builder.py | 3 + .../principals/count/count_request_builder.py | 3 + .../directory_object_item_request_builder.py | 3 + .../principals/principals_request_builder.py | 4 + .../role_definition_request_builder.py | 3 + ...ssignment_multiple_item_request_builder.py | 7 + .../role_assignments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...e_id_directory_scope_id_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...herits_permissions_from_request_builder.py | 6 + ...e_id_directory_scope_id_request_builder.py | 3 + ...ed_role_definition_item_request_builder.py | 7 + ...ed_role_definition_item_request_builder.py | 13 +- .../role_definitions_request_builder.py | 6 + .../defender/defender_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...import_resource_actions_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../authentication_context_request_builder.py | 3 + .../resource_scope_request_builder.py | 7 + ...ac_resource_action_item_request_builder.py | 7 + .../resource_actions_request_builder.py | 6 + ...resource_namespace_item_request_builder.py | 7 + .../resource_namespaces_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../app_scopes/app_scopes_request_builder.py | 6 + .../app_scopes/count/count_request_builder.py | 3 + .../item/app_scope_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../directory_scopes_request_builder.py | 4 + .../directory_object_item_request_builder.py | 3 + .../principals/count/count_request_builder.py | 3 + .../directory_object_item_request_builder.py | 3 + .../principals/principals_request_builder.py | 4 + .../role_definition_request_builder.py | 3 + ...ssignment_multiple_item_request_builder.py | 7 + .../role_assignments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...e_id_directory_scope_id_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...herits_permissions_from_request_builder.py | 6 + ...e_id_directory_scope_id_request_builder.py | 3 + ...ed_role_definition_item_request_builder.py | 7 + ...ed_role_definition_item_request_builder.py | 7 + .../role_definitions_request_builder.py | 6 + .../device_management_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...import_resource_actions_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../authentication_context_request_builder.py | 3 + .../resource_scope_request_builder.py | 7 + ...ac_resource_action_item_request_builder.py | 7 + .../resource_actions_request_builder.py | 6 + ...resource_namespace_item_request_builder.py | 7 + .../resource_namespaces_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../app_scopes/app_scopes_request_builder.py | 6 + .../app_scopes/count/count_request_builder.py | 3 + .../item/app_scope_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../directory_scopes_request_builder.py | 4 + .../directory_object_item_request_builder.py | 3 + .../principals/count/count_request_builder.py | 3 + .../directory_object_item_request_builder.py | 3 + .../principals/principals_request_builder.py | 4 + .../role_definition_request_builder.py | 3 + ...ssignment_multiple_item_request_builder.py | 7 + .../role_assignments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...e_id_directory_scope_id_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...herits_permissions_from_request_builder.py | 6 + ...e_id_directory_scope_id_request_builder.py | 3 + ...ed_role_definition_item_request_builder.py | 7 + ...ed_role_definition_item_request_builder.py | 7 + .../role_definitions_request_builder.py | 6 + .../directory/directory_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...import_resource_actions_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../authentication_context_request_builder.py | 3 + .../resource_scope_request_builder.py | 7 + ...ac_resource_action_item_request_builder.py | 7 + .../resource_actions_request_builder.py | 6 + ...resource_namespace_item_request_builder.py | 7 + .../resource_namespaces_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../item/approval_item_request_builder.py | 7 + .../item/steps/count/count_request_builder.py | 3 + .../approval_step_item_request_builder.py | 7 + .../item/steps/steps_request_builder.py | 6 + ...le_assignment_approvals_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ..._schedule_instance_item_request_builder.py | 7 + ...ment_schedule_instances_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../item/cancel/cancel_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + .../target_schedule_request_builder.py | 3 + ...t_schedule_request_item_request_builder.py | 7 + ...nment_schedule_requests_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...ssignment_schedule_item_request_builder.py | 7 + ...le_assignment_schedules_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 7 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...ed_role_assignment_item_request_builder.py | 7 + .../role_assignments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...e_id_directory_scope_id_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...herits_permissions_from_request_builder.py | 6 + ...e_id_directory_scope_id_request_builder.py | 3 + ...ed_role_definition_item_request_builder.py | 7 + ...ed_role_definition_item_request_builder.py | 13 +- .../role_definitions_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ..._schedule_instance_item_request_builder.py | 7 + ...lity_schedule_instances_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../item/cancel/cancel_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + .../target_schedule_request_builder.py | 3 + ...y_schedule_request_item_request_builder.py | 7 + ...ility_schedule_requests_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...igibility_schedule_item_request_builder.py | 7 + ...e_eligibility_schedules_request_builder.py | 7 + ...n_id_role_definition_id_request_builder.py | 3 + ...n_id_role_definition_id_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 7 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...ed_role_assignment_item_request_builder.py | 7 + ...sitive_role_assignments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../enterprise_apps_request_builder.py | 6 + .../rbac_application_item_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...import_resource_actions_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../authentication_context_request_builder.py | 3 + .../resource_scope_request_builder.py | 7 + ...ac_resource_action_item_request_builder.py | 7 + .../resource_actions_request_builder.py | 6 + ...resource_namespace_item_request_builder.py | 7 + .../resource_namespaces_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../item/approval_item_request_builder.py | 7 + .../item/steps/count/count_request_builder.py | 3 + .../approval_step_item_request_builder.py | 7 + .../item/steps/steps_request_builder.py | 6 + ...le_assignment_approvals_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ..._schedule_instance_item_request_builder.py | 7 + ...ment_schedule_instances_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../item/cancel/cancel_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + .../target_schedule_request_builder.py | 3 + ...t_schedule_request_item_request_builder.py | 7 + ...nment_schedule_requests_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...ssignment_schedule_item_request_builder.py | 7 + ...le_assignment_schedules_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 7 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...ed_role_assignment_item_request_builder.py | 7 + .../role_assignments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...e_id_directory_scope_id_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...herits_permissions_from_request_builder.py | 6 + ...e_id_directory_scope_id_request_builder.py | 3 + ...ed_role_definition_item_request_builder.py | 7 + ...ed_role_definition_item_request_builder.py | 7 + .../role_definitions_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ..._schedule_instance_item_request_builder.py | 7 + ...lity_schedule_instances_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../item/cancel/cancel_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + .../target_schedule_request_builder.py | 3 + ...y_schedule_request_item_request_builder.py | 7 + ...ility_schedule_requests_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...igibility_schedule_item_request_builder.py | 7 + ...e_eligibility_schedules_request_builder.py | 7 + ...n_id_role_definition_id_request_builder.py | 3 + ...n_id_role_definition_id_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 7 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...ed_role_assignment_item_request_builder.py | 7 + ...sitive_role_assignments_request_builder.py | 6 + .../entitlement_management_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...import_resource_actions_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../authentication_context_request_builder.py | 3 + .../resource_scope_request_builder.py | 7 + ...ac_resource_action_item_request_builder.py | 7 + .../resource_actions_request_builder.py | 6 + ...resource_namespace_item_request_builder.py | 7 + .../resource_namespaces_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../item/approval_item_request_builder.py | 7 + .../item/steps/count/count_request_builder.py | 3 + .../approval_step_item_request_builder.py | 7 + .../item/steps/steps_request_builder.py | 6 + ...le_assignment_approvals_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ..._schedule_instance_item_request_builder.py | 7 + ...ment_schedule_instances_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../item/cancel/cancel_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + .../target_schedule_request_builder.py | 3 + ...t_schedule_request_item_request_builder.py | 7 + ...nment_schedule_requests_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../activated_using_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...ssignment_schedule_item_request_builder.py | 7 + ...le_assignment_schedules_request_builder.py | 7 + .../count/count_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 7 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...ed_role_assignment_item_request_builder.py | 7 + .../role_assignments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...e_id_directory_scope_id_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...herits_permissions_from_request_builder.py | 6 + ...e_id_directory_scope_id_request_builder.py | 3 + ...ed_role_definition_item_request_builder.py | 7 + ...ed_role_definition_item_request_builder.py | 13 +- .../role_definitions_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ..._schedule_instance_item_request_builder.py | 7 + ...lity_schedule_instances_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../item/cancel/cancel_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + .../target_schedule_request_builder.py | 3 + ...y_schedule_request_item_request_builder.py | 7 + ...ility_schedule_requests_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...by_current_user_with_on_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 3 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...igibility_schedule_item_request_builder.py | 7 + ...e_eligibility_schedules_request_builder.py | 7 + ...n_id_role_definition_id_request_builder.py | 3 + ...n_id_role_definition_id_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 7 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...ed_role_assignment_item_request_builder.py | 7 + ...sitive_role_assignments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../custom_app_scopes_request_builder.py | 6 + .../custom_app_scope_item_request_builder.py | 7 + .../exchange/exchange_request_builder.py | 7 + .../count/count_request_builder.py | 3 + ...import_resource_actions_request_builder.py | 3 + .../count/count_request_builder.py | 3 + .../authentication_context_request_builder.py | 3 + .../resource_scope_request_builder.py | 7 + ...ac_resource_action_item_request_builder.py | 7 + .../resource_actions_request_builder.py | 6 + ...resource_namespace_item_request_builder.py | 7 + .../resource_namespaces_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 7 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...ed_role_assignment_item_request_builder.py | 7 + .../role_assignments_request_builder.py | 6 + .../count/count_request_builder.py | 3 + ...e_id_directory_scope_id_request_builder.py | 3 + .../count/count_request_builder.py | 3 + ...herits_permissions_from_request_builder.py | 6 + ...e_id_directory_scope_id_request_builder.py | 3 + ...ed_role_definition_item_request_builder.py | 7 + ...ed_role_definition_item_request_builder.py | 13 +- .../role_definitions_request_builder.py | 6 + .../count/count_request_builder.py | 3 + .../app_scope/app_scope_request_builder.py | 7 + .../directory_scope_request_builder.py | 3 + .../principal/principal_request_builder.py | 3 + .../role_definition_request_builder.py | 3 + ...ed_role_assignment_item_request_builder.py | 7 + ...sitive_role_assignments_request_builder.py | 6 + .../role_management_request_builder.py | 5 + .../protection_scopes_request_builder.py | 6 +- .../generated/sites/sites_request_builder.py | 8 +- .../attendance_reports_request_builder.py | 7 +- ..._attendance_report_item_request_builder.py | 7 +- ...onversation_member_item_request_builder.py | 6 +- .../activities/activities_request_builder.py | 6 +- .../content_activities_request_builder.py | 6 +- .../content_activity_item_request_builder.py | 6 +- ...security_and_governance_request_builder.py | 6 +- .../process_content_request_builder.py | 5 +- ...log_collection_requests_request_builder.py | 6 +- ...collection_request_item_request_builder.py | 6 +- .../ai_insights_request_builder.py | 6 +- .../call_ai_insight_item_request_builder.py | 6 +- 568 files changed, 3862 insertions(+), 392 deletions(-) create mode 100644 msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/clear_enrollment_time_device_membership_target/clear_enrollment_time_device_membership_target_request_builder.py create mode 100644 msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/retrieve_enrollment_time_device_membership_target/retrieve_enrollment_time_device_membership_target_request_builder.py create mode 100644 msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_request_builder.py create mode 100644 msgraph_beta/generated/device_management/reports/retrieve_android_work_profile_device_migration_statuses/retrieve_android_work_profile_device_migration_statuses_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/reports/retrieve_android_work_profile_device_migration_statuses/retrieve_android_work_profile_device_migration_statuses_request_builder.py create mode 100644 msgraph_beta/generated/device_management/windows_quality_update_policies/item/bulk_action/bulk_action_post_request_body.py create mode 100644 msgraph_beta/generated/device_management/windows_quality_update_policies/item/bulk_action/bulk_action_request_builder.py create mode 100644 msgraph_beta/generated/device_management/windows_quality_update_policies/item/retrieve_windows_quality_update_catalog_item_details_with_ids/retrieve_windows_quality_update_catalog_item_details_with_ids_get_response.py create mode 100644 msgraph_beta/generated/device_management/windows_quality_update_policies/item/retrieve_windows_quality_update_catalog_item_details_with_ids/retrieve_windows_quality_update_catalog_item_details_with_ids_request_builder.py create mode 100644 msgraph_beta/generated/models/agentic/agent_sign_in.py create mode 100644 msgraph_beta/generated/models/agentic/agent_type.py create mode 100644 msgraph_beta/generated/models/bulk_catalog_item_action_result.py create mode 100644 msgraph_beta/generated/models/windows_quality_update_approval_setting.py create mode 100644 msgraph_beta/generated/models/windows_quality_update_approval_status.py create mode 100644 msgraph_beta/generated/models/windows_quality_update_catalog_item_policy_detail.py create mode 100644 msgraph_beta/generated/models/windows_quality_update_policy_action_type.py create mode 100644 msgraph_beta/generated/models/windows_quality_update_policy_approval_method_type.py create mode 100644 msgraph_beta/generated/models/windows_restore_device_enrollment_configuration.py create mode 100644 msgraph_beta/generated/models/x509_certificate_authority_scope.py diff --git a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py index d96f5fe8454..737f3c1cc0c 100644 --- a/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/updatable_assets/item/updatable_asset_item_request_builder.py @@ -36,10 +36,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an updatableAsset object. + Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -55,10 +55,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> Optional[UpdatableAsset]: """ - Read the properties of an azureADDevice object. + Read the properties and relationships of an updatableAssetGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UpdatableAsset] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -99,7 +99,7 @@ async def patch(self,body: UpdatableAsset, request_configuration: Optional[Reque def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an updatableAsset object. + Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UpdatableAssetItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties of an azureADDevice object. + Read the properties and relationships of an updatableAssetGroup object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -189,7 +189,7 @@ class UpdatableAssetItemRequestBuilderDeleteRequestConfiguration(RequestConfigur @dataclass class UpdatableAssetItemRequestBuilderGetQueryParameters(): """ - Read the properties of an azureADDevice object. + Read the properties and relationships of an updatableAssetGroup object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py index 0d793b2a7c2..b6b1192817a 100644 --- a/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py +++ b/msgraph_beta/generated/admin/windows/updates/update_policies/item/compliance_changes/item/compliance_change_item_request_builder.py @@ -33,10 +33,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete a contentApproval object. + Delete a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta """ request_info = self.to_delete_request_information( request_configuration @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> Optional[ComplianceChange]: """ - Read the properties and relationships of a contentApproval object. + Read the properties and relationships of a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ComplianceChange] - Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -97,7 +97,7 @@ async def patch(self,body: ComplianceChange, request_configuration: Optional[Req def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a contentApproval object. + Delete a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ComplianceChangeItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a contentApproval object. + Read the properties and relationships of a complianceChange object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -160,7 +160,7 @@ class ComplianceChangeItemRequestBuilderDeleteRequestConfiguration(RequestConfig @dataclass class ComplianceChangeItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a contentApproval object. + Read the properties and relationships of a complianceChange object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py b/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py index c439efd0545..0985c839f61 100644 --- a/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph_beta/generated/app/calls/item/participants/invite/invite_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]: """ - Invite participants to the active call. For more information about how to handle operations, see commsOperation. + Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] - Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invite participants to the active call. For more information about how to handle operations, see commsOperation. + Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/app/online_meetings/item/ai_insights/ai_insights_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/ai_insights/ai_insights_request_builder.py index ef02aec8de0..2add63d8b24 100644 --- a/msgraph_beta/generated/app/online_meetings/item/ai_insights/ai_insights_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/ai_insights/ai_insights_request_builder.py @@ -49,7 +49,7 @@ def by_call_ai_insight_id(self,call_ai_insight_id: str) -> CallAiInsightItemRequ async def get(self,request_configuration: Optional[RequestConfiguration[AiInsightsRequestBuilderGetQueryParameters]] = None) -> Optional[CallAiInsightCollectionResponse]: """ - Get aiInsights from app + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallAiInsightCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: CallAiInsight, request_configuration: Optional[Request def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AiInsightsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get aiInsights from app + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AiInsightsRequestBuilderGetQueryParameters(): """ - Get aiInsights from app + The AI insights generated for an online meeting. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/app/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py b/msgraph_beta/generated/app/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py index 00197906082..376225b1371 100644 --- a/msgraph_beta/generated/app/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py +++ b/msgraph_beta/generated/app/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[CallAiInsightItemRequestBuilderGetQueryParameters]] = None) -> Optional[CallAiInsight]: """ - Get aiInsights from app + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallAiInsight] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CallAiInsightItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get aiInsights from app + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class CallAiInsightItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class CallAiInsightItemRequestBuilderGetQueryParameters(): """ - Get aiInsights from app + The AI insights generated for an online meeting. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py index b11fa707900..4380aae4bfa 100644 --- a/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph_beta/generated/communications/calls/item/participants/invite/invite_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[InviteParticipantsOperation]: """ - Invite participants to the active call. For more information about how to handle operations, see commsOperation. + Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[InviteParticipantsOperation] - Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: InvitePostRequestBody, request_configuration: Optional def to_post_request_information(self,body: InvitePostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invite participants to the active call. For more information about how to handle operations, see commsOperation. + Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/communications/online_meetings/item/ai_insights/ai_insights_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/ai_insights/ai_insights_request_builder.py index 8337335b44a..642260f23ce 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/ai_insights/ai_insights_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/ai_insights/ai_insights_request_builder.py @@ -49,7 +49,7 @@ def by_call_ai_insight_id(self,call_ai_insight_id: str) -> CallAiInsightItemRequ async def get(self,request_configuration: Optional[RequestConfiguration[AiInsightsRequestBuilderGetQueryParameters]] = None) -> Optional[CallAiInsightCollectionResponse]: """ - Get aiInsights from communications + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallAiInsightCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: CallAiInsight, request_configuration: Optional[Request def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AiInsightsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get aiInsights from communications + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AiInsightsRequestBuilderGetQueryParameters(): """ - Get aiInsights from communications + The AI insights generated for an online meeting. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/communications/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py b/msgraph_beta/generated/communications/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py index 36e4281a302..9ef71da7d7e 100644 --- a/msgraph_beta/generated/communications/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py +++ b/msgraph_beta/generated/communications/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[CallAiInsightItemRequestBuilderGetQueryParameters]] = None) -> Optional[CallAiInsight]: """ - Get aiInsights from communications + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallAiInsight] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CallAiInsightItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get aiInsights from communications + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class CallAiInsightItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class CallAiInsightItemRequestBuilderGetQueryParameters(): """ - Get aiInsights from communications + The AI insights generated for an online meeting. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py index ef159db0b1b..dc3e60042e2 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/assignments_request_builder.py @@ -49,7 +49,7 @@ def by_ios_lob_app_provisioning_configuration_assignment_id(self,ios_lob_app_pro async def get(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse]: """ - The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + The associated group assignments for IosLobAppProvisioningConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IosLobAppProvisioningConfigurationAssignmentCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: IosLobAppProvisioningConfigurationAssignment, request_ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AssignmentsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + The associated group assignments for IosLobAppProvisioningConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AssignmentsRequestBuilderGetQueryParameters(): """ - The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + The associated group assignments for IosLobAppProvisioningConfiguration. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py index 929c2d462e4..0785752b1cb 100644 --- a/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py +++ b/msgraph_beta/generated/device_app_management/ios_lob_app_provisioning_configurations/item/assignments/item/ios_lob_app_provisioning_configuration_assignment_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> Optional[IosLobAppProvisioningConfigurationAssignment]: """ - The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + The associated group assignments for IosLobAppProvisioningConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IosLobAppProvisioningConfigurationAssignment] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + The associated group assignments for IosLobAppProvisioningConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderDeleteReques @dataclass class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters(): """ - The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + The associated group assignments for IosLobAppProvisioningConfiguration. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/android_device_owner_enrollment_profile_item_request_builder.py b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/android_device_owner_enrollment_profile_item_request_builder.py index 2ca9e823743..f4f2b0067b9 100644 --- a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/android_device_owner_enrollment_profile_item_request_builder.py +++ b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/android_device_owner_enrollment_profile_item_request_builder.py @@ -16,8 +16,11 @@ if TYPE_CHECKING: from ....models.android_device_owner_enrollment_profile import AndroidDeviceOwnerEnrollmentProfile from ....models.o_data_errors.o_data_error import ODataError + from .clear_enrollment_time_device_membership_target.clear_enrollment_time_device_membership_target_request_builder import ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder from .create_token.create_token_request_builder import CreateTokenRequestBuilder + from .retrieve_enrollment_time_device_membership_target.retrieve_enrollment_time_device_membership_target_request_builder import RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder from .revoke_token.revoke_token_request_builder import RevokeTokenRequestBuilder + from .set_enrollment_time_device_membership_target.set_enrollment_time_device_membership_target_request_builder import SetEnrollmentTimeDeviceMembershipTargetRequestBuilder class AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder(BaseRequestBuilder): """ @@ -139,6 +142,15 @@ def with_url(self,raw_url: str) -> AndroidDeviceOwnerEnrollmentProfileItemReques raise TypeError("raw_url cannot be null.") return AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder(self.request_adapter, raw_url) + @property + def clear_enrollment_time_device_membership_target(self) -> ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder: + """ + Provides operations to call the clearEnrollmentTimeDeviceMembershipTarget method. + """ + from .clear_enrollment_time_device_membership_target.clear_enrollment_time_device_membership_target_request_builder import ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder + + return ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder(self.request_adapter, self.path_parameters) + @property def create_token(self) -> CreateTokenRequestBuilder: """ @@ -148,6 +160,15 @@ def create_token(self) -> CreateTokenRequestBuilder: return CreateTokenRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_enrollment_time_device_membership_target(self) -> RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder: + """ + Provides operations to call the retrieveEnrollmentTimeDeviceMembershipTarget method. + """ + from .retrieve_enrollment_time_device_membership_target.retrieve_enrollment_time_device_membership_target_request_builder import RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder + + return RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder(self.request_adapter, self.path_parameters) + @property def revoke_token(self) -> RevokeTokenRequestBuilder: """ @@ -157,6 +178,15 @@ def revoke_token(self) -> RevokeTokenRequestBuilder: return RevokeTokenRequestBuilder(self.request_adapter, self.path_parameters) + @property + def set_enrollment_time_device_membership_target(self) -> SetEnrollmentTimeDeviceMembershipTargetRequestBuilder: + """ + Provides operations to call the setEnrollmentTimeDeviceMembershipTarget method. + """ + from .set_enrollment_time_device_membership_target.set_enrollment_time_device_membership_target_request_builder import SetEnrollmentTimeDeviceMembershipTargetRequestBuilder + + return SetEnrollmentTimeDeviceMembershipTargetRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class AndroidDeviceOwnerEnrollmentProfileItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/clear_enrollment_time_device_membership_target/clear_enrollment_time_device_membership_target_request_builder.py b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/clear_enrollment_time_device_membership_target/clear_enrollment_time_device_membership_target_request_builder.py new file mode 100644 index 00000000000..171ec42b8b0 --- /dev/null +++ b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/clear_enrollment_time_device_membership_target/clear_enrollment_time_device_membership_target_request_builder.py @@ -0,0 +1,77 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the clearEnrollmentTimeDeviceMembershipTarget method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/androidDeviceOwnerEnrollmentProfiles/{androidDeviceOwnerEnrollmentProfile%2Did}/clearEnrollmentTimeDeviceMembershipTarget", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Invoke action clearEnrollmentTimeDeviceMembershipTarget + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: None + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_no_response_content_async(request_info, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action clearEnrollmentTimeDeviceMembershipTarget + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + return request_info + + def with_url(self,raw_url: str) -> ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class ClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/retrieve_enrollment_time_device_membership_target/retrieve_enrollment_time_device_membership_target_request_builder.py b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/retrieve_enrollment_time_device_membership_target/retrieve_enrollment_time_device_membership_target_request_builder.py new file mode 100644 index 00000000000..4a4fa51d186 --- /dev/null +++ b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/retrieve_enrollment_time_device_membership_target/retrieve_enrollment_time_device_membership_target_request_builder.py @@ -0,0 +1,81 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.enrollment_time_device_membership_target_result import EnrollmentTimeDeviceMembershipTargetResult + from .....models.o_data_errors.o_data_error import ODataError + +class RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveEnrollmentTimeDeviceMembershipTarget method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/androidDeviceOwnerEnrollmentProfiles/{androidDeviceOwnerEnrollmentProfile%2Did}/retrieveEnrollmentTimeDeviceMembershipTarget", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EnrollmentTimeDeviceMembershipTargetResult]: + """ + Invoke action retrieveEnrollmentTimeDeviceMembershipTarget + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[EnrollmentTimeDeviceMembershipTargetResult] + """ + request_info = self.to_post_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.enrollment_time_device_membership_target_result import EnrollmentTimeDeviceMembershipTargetResult + + return await self.request_adapter.send_async(request_info, EnrollmentTimeDeviceMembershipTargetResult, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action retrieveEnrollmentTimeDeviceMembershipTarget + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py new file mode 100644 index 00000000000..72540d3b613 --- /dev/null +++ b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_post_request_body.py @@ -0,0 +1,57 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.enrollment_time_device_membership_target import EnrollmentTimeDeviceMembershipTarget + +@dataclass +class SetEnrollmentTimeDeviceMembershipTargetPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The enrollmentTimeDeviceMembershipTargets property + enrollment_time_device_membership_targets: Optional[list[EnrollmentTimeDeviceMembershipTarget]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SetEnrollmentTimeDeviceMembershipTargetPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: SetEnrollmentTimeDeviceMembershipTargetPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return SetEnrollmentTimeDeviceMembershipTargetPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .....models.enrollment_time_device_membership_target import EnrollmentTimeDeviceMembershipTarget + + from .....models.enrollment_time_device_membership_target import EnrollmentTimeDeviceMembershipTarget + + fields: dict[str, Callable[[Any], None]] = { + "enrollmentTimeDeviceMembershipTargets": lambda n : setattr(self, 'enrollment_time_device_membership_targets', n.get_collection_of_object_values(EnrollmentTimeDeviceMembershipTarget)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("enrollmentTimeDeviceMembershipTargets", self.enrollment_time_device_membership_targets) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_request_builder.py b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_request_builder.py new file mode 100644 index 00000000000..83a05e021ee --- /dev/null +++ b/msgraph_beta/generated/device_management/android_device_owner_enrollment_profiles/item/set_enrollment_time_device_membership_target/set_enrollment_time_device_membership_target_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.enrollment_time_device_membership_target_result import EnrollmentTimeDeviceMembershipTargetResult + from .....models.o_data_errors.o_data_error import ODataError + from .set_enrollment_time_device_membership_target_post_request_body import SetEnrollmentTimeDeviceMembershipTargetPostRequestBody + +class SetEnrollmentTimeDeviceMembershipTargetRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the setEnrollmentTimeDeviceMembershipTarget method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new SetEnrollmentTimeDeviceMembershipTargetRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/androidDeviceOwnerEnrollmentProfiles/{androidDeviceOwnerEnrollmentProfile%2Did}/setEnrollmentTimeDeviceMembershipTarget", path_parameters) + + async def post(self,body: SetEnrollmentTimeDeviceMembershipTargetPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EnrollmentTimeDeviceMembershipTargetResult]: + """ + Invoke action setEnrollmentTimeDeviceMembershipTarget + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[EnrollmentTimeDeviceMembershipTargetResult] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.enrollment_time_device_membership_target_result import EnrollmentTimeDeviceMembershipTargetResult + + return await self.request_adapter.send_async(request_info, EnrollmentTimeDeviceMembershipTargetResult, error_mapping) + + def to_post_request_information(self,body: SetEnrollmentTimeDeviceMembershipTargetPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action setEnrollmentTimeDeviceMembershipTarget + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> SetEnrollmentTimeDeviceMembershipTargetRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: SetEnrollmentTimeDeviceMembershipTargetRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return SetEnrollmentTimeDeviceMembershipTargetRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class SetEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py index e4ef8258b1f..66700ae6d3f 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py @@ -49,7 +49,7 @@ def by_app_log_collection_request_id(self,app_log_collection_request_id: str) -> async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequestCollectionResponse]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequestCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: AppLogCollectionRequest, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppLogCollectionRequestsRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py index 4abc5a08e30..acdb63b1618 100644 --- a/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py +++ b/msgraph_beta/generated/device_management/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequest]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequest] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -157,7 +157,7 @@ class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfiguration(Reques @dataclass class AppLogCollectionRequestItemRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/reports/reports_request_builder.py b/msgraph_beta/generated/device_management/reports/reports_request_builder.py index 7b2ea7a356b..161b23c6aba 100644 --- a/msgraph_beta/generated/device_management/reports/reports_request_builder.py +++ b/msgraph_beta/generated/device_management/reports/reports_request_builder.py @@ -87,6 +87,7 @@ from .get_windows_update_alerts_per_policy_per_device_report.get_windows_update_alerts_per_policy_per_device_report_request_builder import GetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBuilder from .get_windows_update_alert_summary_report.get_windows_update_alert_summary_report_request_builder import GetWindowsUpdateAlertSummaryReportRequestBuilder from .get_zebra_fota_deployment_report.get_zebra_fota_deployment_report_request_builder import GetZebraFotaDeploymentReportRequestBuilder + from .retrieve_android_work_profile_device_migration_statuses.retrieve_android_work_profile_device_migration_statuses_request_builder import RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder from .retrieve_cloud_pki_leaf_certificate_report.retrieve_cloud_pki_leaf_certificate_report_request_builder import RetrieveCloudPkiLeafCertificateReportRequestBuilder from .retrieve_cloud_pki_leaf_certificate_summary_report.retrieve_cloud_pki_leaf_certificate_summary_report_request_builder import RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder from .retrieve_device_app_installation_status_report.retrieve_device_app_installation_status_report_request_builder import RetrieveDeviceAppInstallationStatusReportRequestBuilder @@ -852,6 +853,15 @@ def get_zebra_fota_deployment_report(self) -> GetZebraFotaDeploymentReportReques return GetZebraFotaDeploymentReportRequestBuilder(self.request_adapter, self.path_parameters) + @property + def retrieve_android_work_profile_device_migration_statuses(self) -> RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder: + """ + Provides operations to call the retrieveAndroidWorkProfileDeviceMigrationStatuses method. + """ + from .retrieve_android_work_profile_device_migration_statuses.retrieve_android_work_profile_device_migration_statuses_request_builder import RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder + + return RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder(self.request_adapter, self.path_parameters) + @property def retrieve_cloud_pki_leaf_certificate_report(self) -> RetrieveCloudPkiLeafCertificateReportRequestBuilder: """ diff --git a/msgraph_beta/generated/device_management/reports/retrieve_android_work_profile_device_migration_statuses/retrieve_android_work_profile_device_migration_statuses_post_request_body.py b/msgraph_beta/generated/device_management/reports/retrieve_android_work_profile_device_migration_statuses/retrieve_android_work_profile_device_migration_statuses_post_request_body.py new file mode 100644 index 00000000000..efcfb09a18f --- /dev/null +++ b/msgraph_beta/generated/device_management/reports/retrieve_android_work_profile_device_migration_statuses/retrieve_android_work_profile_device_migration_statuses_post_request_body.py @@ -0,0 +1,82 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The filter property + filter: Optional[str] = None + # The groupBy property + group_by: Optional[list[str]] = None + # The name property + name: Optional[str] = None + # The orderBy property + order_by: Optional[list[str]] = None + # The search property + search: Optional[str] = None + # The select property + select: Optional[list[str]] = None + # The sessionId property + session_id: Optional[str] = None + # The skip property + skip: Optional[int] = None + # The top property + top: Optional[int] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "filter": lambda n : setattr(self, 'filter', n.get_str_value()), + "groupBy": lambda n : setattr(self, 'group_by', n.get_collection_of_primitive_values(str)), + "name": lambda n : setattr(self, 'name', n.get_str_value()), + "orderBy": lambda n : setattr(self, 'order_by', n.get_collection_of_primitive_values(str)), + "search": lambda n : setattr(self, 'search', n.get_str_value()), + "select": lambda n : setattr(self, 'select', n.get_collection_of_primitive_values(str)), + "sessionId": lambda n : setattr(self, 'session_id', n.get_str_value()), + "skip": lambda n : setattr(self, 'skip', n.get_int_value()), + "top": lambda n : setattr(self, 'top', n.get_int_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_str_value("filter", self.filter) + writer.write_collection_of_primitive_values("groupBy", self.group_by) + writer.write_str_value("name", self.name) + writer.write_collection_of_primitive_values("orderBy", self.order_by) + writer.write_str_value("search", self.search) + writer.write_collection_of_primitive_values("select", self.select) + writer.write_str_value("sessionId", self.session_id) + writer.write_int_value("skip", self.skip) + writer.write_int_value("top", self.top) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/reports/retrieve_android_work_profile_device_migration_statuses/retrieve_android_work_profile_device_migration_statuses_request_builder.py b/msgraph_beta/generated/device_management/reports/retrieve_android_work_profile_device_migration_statuses/retrieve_android_work_profile_device_migration_statuses_request_builder.py new file mode 100644 index 00000000000..e613069f3aa --- /dev/null +++ b/msgraph_beta/generated/device_management/reports/retrieve_android_work_profile_device_migration_statuses/retrieve_android_work_profile_device_migration_statuses_request_builder.py @@ -0,0 +1,86 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from .retrieve_android_work_profile_device_migration_statuses_post_request_body import RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody + +class RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveAndroidWorkProfileDeviceMigrationStatuses method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/reports/retrieveAndroidWorkProfileDeviceMigrationStatuses", path_parameters) + + async def post(self,body: RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[bytes]: + """ + Invoke action retrieveAndroidWorkProfileDeviceMigrationStatuses + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: bytes + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from ....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + return await self.request_adapter.send_primitive_async(request_info, "bytes", error_mapping) + + def to_post_request_information(self,body: RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action retrieveAndroidWorkProfileDeviceMigrationStatuses + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/octet-stream") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/device_management/role_assignments/item/role_definition/role_definition_request_builder.py index b9a01d3564c..79eaa29e762 100644 --- a/msgraph_beta/generated/device_management/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/device_management/role_assignments/item/role_definition/role_definition_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinition]: """ - Role definition this assignment is part of. + Indicates the role definition for this role assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Role definition this assignment is part of. + Indicates the role definition for this role assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: @dataclass class RoleDefinitionRequestBuilderGetQueryParameters(): """ - Role definition this assignment is part of. + Indicates the role definition for this role assignment. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/item/role_scope_tag_item_request_builder.py b/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/item/role_scope_tag_item_request_builder.py index a413598594d..26c8f15cc9c 100644 --- a/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/item/role_scope_tag_item_request_builder.py +++ b/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/item/role_scope_tag_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[RoleScopeTagItemRequestBuilderGetQueryParameters]] = None) -> Optional[RoleScopeTag]: """ - The set of Role Scope Tags defined on the Role Assignment. + Indicates the set of scope tags for the role assignment. These scope tags will limit the visibility of any Intune resources to those that match any of the scope tags in this collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleScopeTag] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleScop def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleScopeTagItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of Role Scope Tags defined on the Role Assignment. + Indicates the set of scope tags for the role assignment. These scope tags will limit the visibility of any Intune resources to those that match any of the scope tags in this collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> RoleScopeTagItemRequestBuilder: @dataclass class RoleScopeTagItemRequestBuilderGetQueryParameters(): """ - The set of Role Scope Tags defined on the Role Assignment. + Indicates the set of scope tags for the role assignment. These scope tags will limit the visibility of any Intune resources to those that match any of the scope tags in this collection. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/role_scope_tags_request_builder.py b/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/role_scope_tags_request_builder.py index 9a0340e7e02..590104b47d6 100644 --- a/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/role_scope_tags_request_builder.py +++ b/msgraph_beta/generated/device_management/role_assignments/item/role_scope_tags/role_scope_tags_request_builder.py @@ -48,7 +48,7 @@ def by_role_scope_tag_id(self,role_scope_tag_id: str) -> RoleScopeTagItemRequest async def get(self,request_configuration: Optional[RequestConfiguration[RoleScopeTagsRequestBuilderGetQueryParameters]] = None) -> Optional[RoleScopeTagCollectionResponse]: """ - The set of Role Scope Tags defined on the Role Assignment. + Indicates the set of scope tags for the role assignment. These scope tags will limit the visibility of any Intune resources to those that match any of the scope tags in this collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleScopeTagCollectionResponse] """ @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleScop def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleScopeTagsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The set of Role Scope Tags defined on the Role Assignment. + Indicates the set of scope tags for the role assignment. These scope tags will limit the visibility of any Intune resources to those that match any of the scope tags in this collection. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -99,7 +99,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleScopeTagsRequestBuilderGetQueryParameters(): """ - The set of Role Scope Tags defined on the Role Assignment. + Indicates the set of scope tags for the role assignment. These scope tags will limit the visibility of any Intune resources to those that match any of the scope tags in this collection. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_definition/role_definition_request_builder.py index 04369277dd6..bc61663702c 100644 --- a/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/device_management/role_definitions/item/role_assignments/item/role_definition/role_definition_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinition]: """ - Role definition this assignment is part of. + Indicates the role definition for this role assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] """ @@ -52,7 +52,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Role definition this assignment is part of. + Indicates the role definition for this role assignment. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -74,7 +74,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: @dataclass class RoleDefinitionRequestBuilderGetQueryParameters(): """ - Role definition this assignment is part of. + Indicates the role definition for this role assignment. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/device_management/windows_quality_update_policies/item/bulk_action/bulk_action_post_request_body.py b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/bulk_action/bulk_action_post_request_body.py new file mode 100644 index 00000000000..e4c95bf7d31 --- /dev/null +++ b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/bulk_action/bulk_action_post_request_body.py @@ -0,0 +1,61 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.windows_quality_update_policy_action_type import WindowsQualityUpdatePolicyActionType + +@dataclass +class BulkActionPostRequestBody(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # An enum type to represent approval actions of single or list of quality update policies + action: Optional[WindowsQualityUpdatePolicyActionType] = None + # The ids property + ids: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> BulkActionPostRequestBody: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: BulkActionPostRequestBody + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return BulkActionPostRequestBody() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .....models.windows_quality_update_policy_action_type import WindowsQualityUpdatePolicyActionType + + from .....models.windows_quality_update_policy_action_type import WindowsQualityUpdatePolicyActionType + + fields: dict[str, Callable[[Any], None]] = { + "action": lambda n : setattr(self, 'action', n.get_enum_value(WindowsQualityUpdatePolicyActionType)), + "ids": lambda n : setattr(self, 'ids', n.get_collection_of_primitive_values(str)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_enum_value("action", self.action) + writer.write_collection_of_primitive_values("ids", self.ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/device_management/windows_quality_update_policies/item/bulk_action/bulk_action_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/bulk_action/bulk_action_request_builder.py new file mode 100644 index 00000000000..2a7c2f3a014 --- /dev/null +++ b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/bulk_action/bulk_action_request_builder.py @@ -0,0 +1,89 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.bulk_catalog_item_action_result import BulkCatalogItemActionResult + from .....models.o_data_errors.o_data_error import ODataError + from .bulk_action_post_request_body import BulkActionPostRequestBody + +class BulkActionRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the bulkAction method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]]) -> None: + """ + Instantiates a new BulkActionRequestBuilder and sets the default values. + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + super().__init__(request_adapter, "{+baseurl}/deviceManagement/windowsQualityUpdatePolicies/{windowsQualityUpdatePolicy%2Did}/bulkAction", path_parameters) + + async def post(self,body: BulkActionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[BulkCatalogItemActionResult]: + """ + Invoke action bulkAction + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[BulkCatalogItemActionResult] + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_post_request_information( + body, request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .....models.bulk_catalog_item_action_result import BulkCatalogItemActionResult + + return await self.request_adapter.send_async(request_info, BulkCatalogItemActionResult, error_mapping) + + def to_post_request_information(self,body: BulkActionPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Invoke action bulkAction + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + return request_info + + def with_url(self,raw_url: str) -> BulkActionRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: BulkActionRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return BulkActionRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class BulkActionRequestBuilderPostRequestConfiguration(RequestConfiguration[QueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/windows_quality_update_policies/item/retrieve_windows_quality_update_catalog_item_details_with_ids/retrieve_windows_quality_update_catalog_item_details_with_ids_get_response.py b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/retrieve_windows_quality_update_catalog_item_details_with_ids/retrieve_windows_quality_update_catalog_item_details_with_ids_get_response.py new file mode 100644 index 00000000000..a67b7c1981b --- /dev/null +++ b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/retrieve_windows_quality_update_catalog_item_details_with_ids/retrieve_windows_quality_update_catalog_item_details_with_ids_get_response.py @@ -0,0 +1,58 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.windows_quality_update_catalog_item_policy_detail import WindowsQualityUpdateCatalogItemPolicyDetail + +from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[list[WindowsQualityUpdateCatalogItemPolicyDetail]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.windows_quality_update_catalog_item_policy_detail import WindowsQualityUpdateCatalogItemPolicyDetail + + from .....models.base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .....models.windows_quality_update_catalog_item_policy_detail import WindowsQualityUpdateCatalogItemPolicyDetail + + fields: dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(WindowsQualityUpdateCatalogItemPolicyDetail)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph_beta/generated/device_management/windows_quality_update_policies/item/retrieve_windows_quality_update_catalog_item_details_with_ids/retrieve_windows_quality_update_catalog_item_details_with_ids_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/retrieve_windows_quality_update_catalog_item_details_with_ids/retrieve_windows_quality_update_catalog_item_details_with_ids_request_builder.py new file mode 100644 index 00000000000..8d174912d9c --- /dev/null +++ b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/retrieve_windows_quality_update_catalog_item_details_with_ids/retrieve_windows_quality_update_catalog_item_details_with_ids_request_builder.py @@ -0,0 +1,125 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.base_request_builder import BaseRequestBuilder +from kiota_abstractions.base_request_configuration import RequestConfiguration +from kiota_abstractions.default_query_parameters import QueryParameters +from kiota_abstractions.get_path_parameters import get_path_parameters +from kiota_abstractions.method import Method +from kiota_abstractions.request_adapter import RequestAdapter +from kiota_abstractions.request_information import RequestInformation +from kiota_abstractions.request_option import RequestOption +from kiota_abstractions.serialization import Parsable, ParsableFactory +from typing import Any, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .retrieve_windows_quality_update_catalog_item_details_with_ids_get_response import RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse + +class RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the retrieveWindowsQualityUpdateCatalogItemDetails method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, dict[str, Any]], ids: Optional[str] = None) -> None: + """ + Instantiates a new RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder and sets the default values. + param ids: Usage: ids={ids} + param path_parameters: The raw url or the url-template parameters for the request. + param request_adapter: The request adapter to use to execute the requests. + Returns: None + """ + if isinstance(path_parameters, dict): + path_parameters['ids'] = ids + super().__init__(request_adapter, "{+baseurl}/deviceManagement/windowsQualityUpdatePolicies/{windowsQualityUpdatePolicy%2Did}/retrieveWindowsQualityUpdateCatalogItemDetails(ids={ids}){?%24count,%24filter,%24search,%24skip,%24top}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters]] = None) -> Optional[RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse]: + """ + Invoke function retrieveWindowsQualityUpdateCatalogItemDetails + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse] + """ + request_info = self.to_get_request_information( + request_configuration + ) + from .....models.o_data_errors.o_data_error import ODataError + + error_mapping: dict[str, type[ParsableFactory]] = { + "XXX": ODataError, + } + if not self.request_adapter: + raise Exception("Http core is null") + from .retrieve_windows_quality_update_catalog_item_details_with_ids_get_response import RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse + + return await self.request_adapter.send_async(request_info, RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Invoke function retrieveWindowsQualityUpdateCatalogItemDetails + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def with_url(self,raw_url: str) -> RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder: + """ + Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + param raw_url: The raw URL to use for the request builder. + Returns: RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters(): + """ + Invoke function retrieveWindowsQualityUpdateCatalogItemDetails + """ + def get_query_parameter(self,original_name: str) -> str: + """ + Maps the query parameters names to their encoded names for the URI template parsing. + param original_name: The original query parameter name in the class. + Returns: str + """ + if original_name is None: + raise TypeError("original_name cannot be null.") + if original_name == "count": + return "%24count" + if original_name == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetRequestConfiguration(RequestConfiguration[RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters]): + """ + Configuration for the request such as headers, query parameters, and middleware options. + """ + warn("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.", DeprecationWarning) + + diff --git a/msgraph_beta/generated/device_management/windows_quality_update_policies/item/windows_quality_update_policy_item_request_builder.py b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/windows_quality_update_policy_item_request_builder.py index 6e99836283b..1955f0d0ea9 100644 --- a/msgraph_beta/generated/device_management/windows_quality_update_policies/item/windows_quality_update_policy_item_request_builder.py +++ b/msgraph_beta/generated/device_management/windows_quality_update_policies/item/windows_quality_update_policy_item_request_builder.py @@ -18,6 +18,8 @@ from ....models.windows_quality_update_policy import WindowsQualityUpdatePolicy from .assign.assign_request_builder import AssignRequestBuilder from .assignments.assignments_request_builder import AssignmentsRequestBuilder + from .bulk_action.bulk_action_request_builder import BulkActionRequestBuilder + from .retrieve_windows_quality_update_catalog_item_details_with_ids.retrieve_windows_quality_update_catalog_item_details_with_ids_request_builder import RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder class WindowsQualityUpdatePolicyItemRequestBuilder(BaseRequestBuilder): """ @@ -93,6 +95,18 @@ async def patch(self,body: WindowsQualityUpdatePolicy, request_configuration: Op return await self.request_adapter.send_async(request_info, WindowsQualityUpdatePolicy, error_mapping) + def retrieve_windows_quality_update_catalog_item_details_with_ids(self,ids: str) -> RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder: + """ + Provides operations to call the retrieveWindowsQualityUpdateCatalogItemDetails method. + param ids: Usage: ids={ids} + Returns: RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder + """ + if ids is None: + raise TypeError("ids cannot be null.") + from .retrieve_windows_quality_update_catalog_item_details_with_ids.retrieve_windows_quality_update_catalog_item_details_with_ids_request_builder import RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder + + return RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder(self.request_adapter, self.path_parameters, ids) + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ Delete navigation property windowsQualityUpdatePolicies for deviceManagement @@ -157,6 +171,15 @@ def assignments(self) -> AssignmentsRequestBuilder: return AssignmentsRequestBuilder(self.request_adapter, self.path_parameters) + @property + def bulk_action(self) -> BulkActionRequestBuilder: + """ + Provides operations to call the bulkAction method. + """ + from .bulk_action.bulk_action_request_builder import BulkActionRequestBuilder + + return BulkActionRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class WindowsQualityUpdatePolicyItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py index 9231707d403..4814d5b5994 100644 --- a/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py +++ b/msgraph_beta/generated/directory/authentication_method_devices/hardware_oath_devices/hardware_oath_devices_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Hardware async def post(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[HardwareOathTokenAuthenticationMethodDevice]: """ - Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. + Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[HardwareOathTokenAuthenticationMethodDevice] - Find more info here: https://learn.microsoft.com/graph/api/authenticationmethoddevice-post-hardwareoathdevices?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/authenticationmethoddevice-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: HardwareOathTokenAuthenticationMethodDevice, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optionally create and assign to a user in the same request; Or assign to a user via the assign API. + Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk creation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py index 92e323a49cb..947d8ae6ee8 100644 --- a/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/retention_label/retention_label_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Retentio async def patch(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ItemRetentionLabel]: """ - Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ItemRetentionLabel] - Find more info here: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ItemRetentionLabel, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py index bb6fd872dbb..0f868280ec8 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/names/item/range/range_request_builder.py @@ -126,10 +126,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -225,7 +225,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py index 6f1c0a0318f..c571cb598c0 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py index 44daa7ef5a0..5e1463f9a6c 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/range_request_builder.py @@ -126,10 +126,10 @@ def columns_before_with_count(self,count: int) -> ColumnsBeforeWithCountRequestB async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookRange]: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookRange] - Find more info here: https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/range-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -225,7 +225,7 @@ def rows_below_with_count(self,count: int) -> RowsBelowWithCountRequestBuilder: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + Retrieve the properties and relationships of range object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py index 3cb2ed9dabd..6874e2ee1d9 100644 --- a/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +++ b/msgraph_beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py @@ -33,11 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[WorkbookTable]: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[WorkbookTable] - Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/workbook-post-tables?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -57,7 +57,7 @@ async def post(self,body: AddPostRequestBody, request_configuration: Optional[Re def to_post_request_information(self,body: AddPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + Use this API to create a new Table. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py b/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py index 0c9a6aa9423..5a89bfb6a22 100644 --- a/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/items/item/external_item_item_request_builder.py @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[External async def put(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ExternalItem]: """ - Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + Update the properties of an externalitem. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ExternalItem] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -119,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: ExternalItem, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + Update the properties of an externalitem. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py b/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py index dde7c04adbb..6d8c916f5bd 100644 --- a/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py +++ b/msgraph_beta/generated/external/connections/item/schema/schema_request_builder.py @@ -53,11 +53,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SchemaRe async def patch(self,body: Schema, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Schema]: """ - Create a new or update an existing schema for a Microsoft Search connection. + Update the properties of a schema for an externalConnection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Schema] - Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/externalconnectors-schema-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -88,7 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: Schema, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new or update an existing schema for a Microsoft Search connection. + Update the properties of a schema for an externalConnection. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py index d5e20d4262c..80446b0372d 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/data_connectors_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DataConn async def post(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IndustryDataConnector]: """ - Create a new azureDataLakeConnector object. + Create a new oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-post?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new azureDataLakeConnector object. + Create a new oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py b/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py index a92329649a2..21ddf034ceb 100644 --- a/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py +++ b/msgraph_beta/generated/external/industry_data/data_connectors/item/industry_data_connector_item_request_builder.py @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Industry async def patch(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[IndustryDataConnector]: """ - Update the properties of an azureDataLakeConnector object. + Update the properties of a oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[IndustryDataConnector] - Find more info here: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -119,7 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: IndustryDataConnector, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an azureDataLakeConnector object. + Update the properties of a oneRosterApiDataConnector object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py b/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py index 7f35c367cb6..c6783172a3f 100644 --- a/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/conversations_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def post(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Conversation]: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Conversation] - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -105,7 +105,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Conversation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py index 069568144c7..61c877c0fed 100644 --- a/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/conversations/item/threads/item/reply/reply_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -54,7 +54,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py b/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py index babfbe2db09..90ae77f73ed 100644 --- a/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py +++ b/msgraph_beta/generated/groups/item/threads/item/reply/reply_request_builder.py @@ -32,11 +32,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/post-reply?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -54,7 +54,7 @@ async def post(self,body: ReplyPostRequestBody, request_configuration: Optional[ def to_post_request_information(self,body: ReplyPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py b/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py index ed29563e17b..c967411f010 100644 --- a/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity/custom_authentication_extensions/item/custom_authentication_extension_item_request_builder.py @@ -52,10 +52,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters]] = None) -> Optional[CustomAuthenticationExtension]: """ - Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. + Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomAuthenticationExtension] - Find more info here: https://learn.microsoft.com/graph/api/customauthenticationextension-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/authenticationeventlistener-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -106,7 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. + Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -159,7 +159,7 @@ class CustomAuthenticationExtensionItemRequestBuilderDeleteRequestConfiguration( @dataclass class CustomAuthenticationExtensionItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. + Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py index de95fcbab45..8ae75a472e7 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/access_package_custom_workflow_extensions/item/custom_callout_extension_item_request_builder.py @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomCa async def patch(self,body: CustomCalloutExtension, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CustomCalloutExtension]: """ - Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + Update the properties of an accessPackageAssignmentWorkflowExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CustomCalloutExtension] - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-beta """ warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) if body is None: @@ -121,7 +121,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: CustomCalloutExtension, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. + Update the properties of an accessPackageAssignmentWorkflowExtension object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py index 1a549a48181..7efdfad8c5d 100644 --- a/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/entitlement_management/access_package_catalogs/item/custom_access_package_workflow_extensions/item/custom_access_package_workflow_extension_item_request_builder.py @@ -32,10 +32,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None - Find more info here: https://learn.microsoft.com/graph/api/accesspackageassignmentrequestworkflowextension-delete?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/customaccesspackageworkflowextension-delete?view=graph-rest-beta """ warn(" as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31", DeprecationWarning) request_info = self.to_delete_request_information( @@ -99,7 +99,7 @@ async def patch(self,body: CustomAccessPackageWorkflowExtension, request_configu def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py index 1649816b2c5..ac04a56bd6c 100644 --- a/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +++ b/msgraph_beta/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py @@ -54,10 +54,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> Optional[Agreement]: """ - Retrieve all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Agreement] - Find more info here: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/agreement-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -109,7 +109,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -180,7 +180,7 @@ class AgreementItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class AgreementItemRequestBuilderGetQueryParameters(): """ - Retrieve all files related to an agreement. This includes the default file and all localized files. + Retrieve the properties and relationships of an agreement object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py b/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py index 072072b8a14..d56dddf7559 100644 --- a/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py +++ b/msgraph_beta/generated/identity_protection/risky_users/risky_users_request_builder.py @@ -51,10 +51,10 @@ def by_risky_user_id(self,risky_user_id: str) -> RiskyUserItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[RiskyUsersRequestBuilderGetQueryParameters]] = None) -> Optional[RiskyUserCollectionResponse]: """ - Retrieve the properties and relationships of a riskyUser object. + Retrieve the properties and relationships of a collection of riskyUser objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RiskyUserCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/riskyusers-get?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/riskyusers-list?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -95,7 +95,7 @@ async def post(self,body: RiskyUser, request_configuration: Optional[RequestConf def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RiskyUsersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of a riskyUser object. + Retrieve the properties and relationships of a collection of riskyUser objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -159,7 +159,7 @@ def dismiss(self) -> DismissRequestBuilder: @dataclass class RiskyUsersRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of a riskyUser object. + Retrieve the properties and relationships of a collection of riskyUser objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/kiota-dom-export.txt b/msgraph_beta/generated/kiota-dom-export.txt index 149a8b8f9f3..f910859557c 100644 --- a/msgraph_beta/generated/kiota-dom-export.txt +++ b/msgraph_beta/generated/kiota-dom-export.txt @@ -31122,6 +31122,7 @@ msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.ite msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilderGetQueryParameters::|public|select:list[str] msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[AndroidDeviceOwnerEnrollmentProfileItemRequestBuilderGetQueryParameters] msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|clear_enrollment_time_device_membership_target:ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|create_token:CreateTokenRequestBuilder msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None @@ -31129,12 +31130,23 @@ msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.ite msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|patch(body:AndroidDeviceOwnerEnrollmentProfile; request_configuration?:RequestConfiguration[QueryParameters]):AndroidDeviceOwnerEnrollmentProfile msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|retrieve_enrollment_time_device_membership_target:RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|revoke_token:RevokeTokenRequestBuilder +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|set_enrollment_time_device_membership_target:SetEnrollmentTimeDeviceMembershipTargetRequestBuilder msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[AndroidDeviceOwnerEnrollmentProfileItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|to_patch_request_information(body:AndroidDeviceOwnerEnrollmentProfile; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder::|public|with_url(raw_url:str):AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.clearEnrollmentTimeDeviceMembershipTarget.ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.clearEnrollmentTimeDeviceMembershipTarget.ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder.ClearEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.clearEnrollmentTimeDeviceMembershipTarget.ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.clearEnrollmentTimeDeviceMembershipTarget.ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.clearEnrollmentTimeDeviceMembershipTarget.ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.clearEnrollmentTimeDeviceMembershipTarget.ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.clearEnrollmentTimeDeviceMembershipTarget.ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.clearEnrollmentTimeDeviceMembershipTarget.ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.clearEnrollmentTimeDeviceMembershipTarget.ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|with_url(raw_url:str):ClearEnrollmentTimeDeviceMembershipTargetRequestBuilder msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.createToken.CreateTokenPostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.createToken.CreateTokenPostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.createToken.CreateTokenPostRequestBody::|public|backing_store:BackingStore @@ -31154,6 +31166,15 @@ msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.ite msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.createToken.CreateTokenRequestBuilder::|public|to_post_request_information(body:CreateTokenPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.createToken.CreateTokenRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.createToken.CreateTokenRequestBuilder::|public|with_url(raw_url:str):CreateTokenRequestBuilder +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.retrieveEnrollmentTimeDeviceMembershipTarget.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.retrieveEnrollmentTimeDeviceMembershipTarget.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.retrieveEnrollmentTimeDeviceMembershipTarget.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.retrieveEnrollmentTimeDeviceMembershipTarget.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.retrieveEnrollmentTimeDeviceMembershipTarget.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):EnrollmentTimeDeviceMembershipTargetResult +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.retrieveEnrollmentTimeDeviceMembershipTarget.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.retrieveEnrollmentTimeDeviceMembershipTarget.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.retrieveEnrollmentTimeDeviceMembershipTarget.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.retrieveEnrollmentTimeDeviceMembershipTarget.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|with_url(raw_url:str):RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.revokeToken.RevokeTokenRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.revokeToken.RevokeTokenRequestBuilder.RevokeTokenRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.revokeToken.RevokeTokenRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None @@ -31163,6 +31184,25 @@ msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.ite msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.revokeToken.RevokeTokenRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.revokeToken.RevokeTokenRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.revokeToken.RevokeTokenRequestBuilder::|public|with_url(raw_url:str):RevokeTokenRequestBuilder +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetPostRequestBody::|public|enrollment_time_device_membership_targets():list[EnrollmentTimeDeviceMembershipTarget] +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetPostRequestBody::|public|enrollment_time_device_membership_targets(value:list[EnrollmentTimeDeviceMembershipTarget]):None +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):SetEnrollmentTimeDeviceMembershipTargetPostRequestBody +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetRequestBuilder.SetEnrollmentTimeDeviceMembershipTargetRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|post(body:SetEnrollmentTimeDeviceMembershipTargetPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):EnrollmentTimeDeviceMembershipTargetResult +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|to_post_request_information(body:SetEnrollmentTimeDeviceMembershipTargetPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.androidDeviceOwnerEnrollmentProfiles.item.setEnrollmentTimeDeviceMembershipTarget.SetEnrollmentTimeDeviceMembershipTargetRequestBuilder::|public|with_url(raw_url:str):SetEnrollmentTimeDeviceMembershipTargetRequestBuilder msgraph_beta.generated.deviceManagement.androidForWorkAppConfigurationSchemas.AndroidForWorkAppConfigurationSchemasRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.deviceManagement.androidForWorkAppConfigurationSchemas.AndroidForWorkAppConfigurationSchemasRequestBuilder.AndroidForWorkAppConfigurationSchemasRequestBuilderGetQueryParameters::|public|count:bool msgraph_beta.generated.deviceManagement.androidForWorkAppConfigurationSchemas.AndroidForWorkAppConfigurationSchemasRequestBuilder.AndroidForWorkAppConfigurationSchemasRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -49845,6 +49885,7 @@ msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|g msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|patch(body:DeviceManagementReports; request_configuration?:RequestConfiguration[QueryParameters]):DeviceManagementReports msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|retrieve_android_work_profile_device_migration_statuses:RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|retrieve_cloud_pki_leaf_certificate_report:RetrieveCloudPkiLeafCertificateReportRequestBuilder msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|retrieve_cloud_pki_leaf_certificate_summary_report:RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|retrieve_device_app_installation_status_report:RetrieveDeviceAppInstallationStatusReportRequestBuilder @@ -49855,6 +49896,41 @@ msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|t msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|to_patch_request_information(body:DeviceManagementReports; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.reports.ReportsRequestBuilder::|public|with_url(raw_url:str):ReportsRequestBuilder +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|filter():str +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|filter(value:str):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|group_by():list[str] +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|group_by(value:list[str]):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|name():str +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|name(value:str):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|order_by():list[str] +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|order_by(value:list[str]):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|search():str +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|search(value:str):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|select():list[str] +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|select(value:list[str]):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|session_id():str +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|session_id(value:str):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|skip():int +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|skip(value:int):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|top():int +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|public|top(value:int):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder::|public|post(body:RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):bytes +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder::|public|to_post_request_information(body:RetrieveAndroidWorkProfileDeviceMigrationStatusesPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.reports.retrieveAndroidWorkProfileDeviceMigrationStatuses.RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder::|public|with_url(raw_url:str):RetrieveAndroidWorkProfileDeviceMigrationStatusesRequestBuilder msgraph_beta.generated.deviceManagement.reports.retrieveCloudPkiLeafCertificateReport.RetrieveCloudPkiLeafCertificateReportPostRequestBody::|public|additional_data():dict[str, Any] msgraph_beta.generated.deviceManagement.reports.retrieveCloudPkiLeafCertificateReport.RetrieveCloudPkiLeafCertificateReportPostRequestBody::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.deviceManagement.reports.retrieveCloudPkiLeafCertificateReport.RetrieveCloudPkiLeafCertificateReportPostRequestBody::|public|backing_store:BackingStore @@ -58651,6 +58727,49 @@ msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.assign msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.assignments.item.WindowsQualityUpdatePolicyAssignmentItemRequestBuilder::|public|to_patch_request_information(body:WindowsQualityUpdatePolicyAssignment; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.assignments.item.WindowsQualityUpdatePolicyAssignmentItemRequestBuilder::|public|url_template:str msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.assignments.item.WindowsQualityUpdatePolicyAssignmentItemRequestBuilder::|public|with_url(raw_url:str):WindowsQualityUpdatePolicyAssignmentItemRequestBuilder +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody::|public|action():WindowsQualityUpdatePolicyActionType +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody::|public|action(value:WindowsQualityUpdatePolicyActionType):None +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody::|public|additional_data():dict[str, Any] +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody::|public|backing_store:BackingStore +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody::|public|constructor():None +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody::|public|ids():list[str] +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody::|public|ids(value:list[str]):None +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody::|static|public|create_from_discriminator_value(parse_node:ParseNode):BulkActionPostRequestBody +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionRequestBuilder.BulkActionRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionRequestBuilder::|public|post(body:BulkActionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):BulkCatalogItemActionResult +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionRequestBuilder::|public|to_post_request_information(body:BulkActionPostRequestBody; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.bulkAction.BulkActionRequestBuilder::|public|with_url(raw_url:str):BulkActionRequestBuilder +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse-->BaseCollectionPaginationCountResponse +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse::|public|constructor():None +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse::|public|value():list[WindowsQualityUpdateCatalogItemPolicyDetail] +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse::|public|value(value:list[WindowsQualityUpdateCatalogItemPolicyDetail]):None +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder-->BaseRequestBuilder +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters::|public|count:bool +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters::|public|filter:str +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters::|public|search:str +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters::|public|skip:int +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters::|public|top:int +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetRequestConfiguration-->RequestConfiguration[RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters] +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter; ids?:str):None +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters]):RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsGetResponse +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilderGetQueryParameters]):RequestInformation +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder::|public|url_template:str +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.retrieveWindowsQualityUpdateCatalogItemDetailsWithIds.RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder::|public|with_url(raw_url:str):RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder-->BaseRequestBuilder msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder.WindowsQualityUpdatePolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder.WindowsQualityUpdatePolicyItemRequestBuilderGetQueryParameters::|public|expand:list[str] @@ -58660,12 +58779,14 @@ msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.Window msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder.WindowsQualityUpdatePolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|assign:AssignRequestBuilder msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|assignments:AssignmentsRequestBuilder +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|bulk_action:BulkActionRequestBuilder msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|constructor(path_parameters:Union[str, dict[str, Any]]; request_adapter:RequestAdapter):None msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[WindowsQualityUpdatePolicyItemRequestBuilderGetQueryParameters]):WindowsQualityUpdatePolicy msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|patch(body:WindowsQualityUpdatePolicy; request_configuration?:RequestConfiguration[QueryParameters]):WindowsQualityUpdatePolicy msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|path_parameters:Union[str, dict[str, Any]] msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|retrieve_windows_quality_update_catalog_item_details_with_ids(ids:str):RetrieveWindowsQualityUpdateCatalogItemDetailsWithIdsRequestBuilder msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[WindowsQualityUpdatePolicyItemRequestBuilderGetQueryParameters]):RequestInformation msgraph_beta.generated.deviceManagement.windowsQualityUpdatePolicies.item.WindowsQualityUpdatePolicyItemRequestBuilder::|public|to_patch_request_information(body:WindowsQualityUpdatePolicy; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation @@ -156535,6 +156656,25 @@ msgraph_beta.generated.models.AgedAccountsReceivableCollectionResponse::|public| msgraph_beta.generated.models.AgedAccountsReceivableCollectionResponse::|public|value(value:list[AgedAccountsReceivable]):None msgraph_beta.generated.models.AgedAccountsReceivableCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgedAccountsReceivableCollectionResponse msgraph_beta.generated.models.AgedAccountsReceivable~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.agentic.AgentSignIn::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.agentic.AgentSignIn::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.agentic.AgentSignIn::|public|agent_type():AgentType +msgraph_beta.generated.models.agentic.AgentSignIn::|public|agent_type(value:AgentType):None +msgraph_beta.generated.models.agentic.AgentSignIn::|public|backing_store:BackingStore +msgraph_beta.generated.models.agentic.AgentSignIn::|public|constructor():None +msgraph_beta.generated.models.agentic.AgentSignIn::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.agentic.AgentSignIn::|public|odata_type():str +msgraph_beta.generated.models.agentic.AgentSignIn::|public|odata_type(value:str):None +msgraph_beta.generated.models.agentic.AgentSignIn::|public|parent_app_id():str +msgraph_beta.generated.models.agentic.AgentSignIn::|public|parent_app_id(value:str):None +msgraph_beta.generated.models.agentic.AgentSignIn::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.agentic.AgentSignIn::|static|public|create_from_discriminator_value(parse_node:ParseNode):AgentSignIn +msgraph_beta.generated.models.agentic.AgentSignIn~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.agentic.AgentType::0000-NotAgentic +msgraph_beta.generated.models.agentic.AgentType::0001-AgenticAppBuilder +msgraph_beta.generated.models.agentic.AgentType::0002-AgenticApp +msgraph_beta.generated.models.agentic.AgentType::0003-AgenticAppInstance +msgraph_beta.generated.models.agentic.AgentType::0004-UnknownFutureValue msgraph_beta.generated.models.AgentStatus::0000-Active msgraph_beta.generated.models.AgentStatus::0001-Inactive msgraph_beta.generated.models.AggregationOption::|public|additional_data():dict[str, Any] @@ -157391,6 +157531,8 @@ msgraph_beta.generated.models.AndroidDeviceOwnerCompliancePolicy::|public|passwo msgraph_beta.generated.models.AndroidDeviceOwnerCompliancePolicy::|public|password_required_type(value:AndroidDeviceOwnerRequiredPasswordType):None msgraph_beta.generated.models.AndroidDeviceOwnerCompliancePolicy::|public|require_no_pending_system_updates():bool msgraph_beta.generated.models.AndroidDeviceOwnerCompliancePolicy::|public|require_no_pending_system_updates(value:bool):None +msgraph_beta.generated.models.AndroidDeviceOwnerCompliancePolicy::|public|security_block_jailbroken_devices():bool +msgraph_beta.generated.models.AndroidDeviceOwnerCompliancePolicy::|public|security_block_jailbroken_devices(value:bool):None msgraph_beta.generated.models.AndroidDeviceOwnerCompliancePolicy::|public|security_required_android_safety_net_evaluation_type():AndroidSafetyNetEvaluationType msgraph_beta.generated.models.AndroidDeviceOwnerCompliancePolicy::|public|security_required_android_safety_net_evaluation_type(value:AndroidSafetyNetEvaluationType):None msgraph_beta.generated.models.AndroidDeviceOwnerCompliancePolicy::|public|security_require_intune_app_integrity():bool @@ -165515,6 +165657,20 @@ msgraph_beta.generated.models.BuiltInIdentityProvider::|public|serialize(writer: msgraph_beta.generated.models.BuiltInIdentityProvider::|public|state():IdentityProviderState msgraph_beta.generated.models.BuiltInIdentityProvider::|public|state(value:IdentityProviderState):None msgraph_beta.generated.models.BuiltInIdentityProvider::|static|public|create_from_discriminator_value(parse_node:ParseNode):BuiltInIdentityProvider +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|backing_store:BackingStore +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|constructor():None +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|failed_ids():list[str] +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|failed_ids(value:list[str]):None +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|odata_type():str +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|odata_type(value:str):None +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|successful_ids():list[str] +msgraph_beta.generated.models.BulkCatalogItemActionResult::|public|successful_ids(value:list[str]):None +msgraph_beta.generated.models.BulkCatalogItemActionResult::|static|public|create_from_discriminator_value(parse_node:ParseNode):BulkCatalogItemActionResult +msgraph_beta.generated.models.BulkCatalogItemActionResult~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.BulkDriverActionResult::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.BulkDriverActionResult::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.BulkDriverActionResult::|public|backing_store:BackingStore @@ -185238,16 +185394,14 @@ msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetStatus::|publi msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetStatus::|public|target_validation_error_code(value:EnrollmentTimeDeviceMembershipTargetValidationErrorCode):None msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetStatus::|static|public|create_from_discriminator_value(parse_node:ParseNode):EnrollmentTimeDeviceMembershipTargetStatus msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetStatus~~>AdditionalDataHolder; BackedModel; Parsable -msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetType::0000-Unknown -msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetType::0001-StaticSecurityGroup -msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetType::0002-UnknownFutureValue -msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0000-Unknown -msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0001-SecurityGroupNotFound -msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0002-NotSecurityGroup -msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0003-NotStaticSecurityGroup -msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0004-FirstPartyAppNotAnOwner -msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0005-SecurityGroupNotInCallerScope -msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0006-UnknownFutureValue +msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetType::0000-StaticSecurityGroup +msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetType::0001-UnknownFutureValue +msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0000-SecurityGroupNotFound +msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0001-NotSecurityGroup +msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0002-NotStaticSecurityGroup +msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0003-FirstPartyAppNotAnOwner +msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0004-SecurityGroupNotInCallerScope +msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTargetValidationErrorCode::0005-UnknownFutureValue msgraph_beta.generated.models.EnrollmentTimeDeviceMembershipTarget~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.EnrollmentTroubleshootingEvent-->DeviceManagementTroubleshootingEvent msgraph_beta.generated.models.EnrollmentTroubleshootingEvent::|public|constructor():None @@ -193980,6 +194134,8 @@ msgraph_beta.generated.models.IosMinimumOperatingSystem::|public|v16_0():bool msgraph_beta.generated.models.IosMinimumOperatingSystem::|public|v16_0(value:bool):None msgraph_beta.generated.models.IosMinimumOperatingSystem::|public|v17_0():bool msgraph_beta.generated.models.IosMinimumOperatingSystem::|public|v17_0(value:bool):None +msgraph_beta.generated.models.IosMinimumOperatingSystem::|public|v18_0():bool +msgraph_beta.generated.models.IosMinimumOperatingSystem::|public|v18_0(value:bool):None msgraph_beta.generated.models.IosMinimumOperatingSystem::|public|v8_0():bool msgraph_beta.generated.models.IosMinimumOperatingSystem::|public|v8_0(value:bool):None msgraph_beta.generated.models.IosMinimumOperatingSystem::|public|v9_0():bool @@ -197255,6 +197411,8 @@ msgraph_beta.generated.models.MacOSMinimumOperatingSystem::|public|v13_0():bool msgraph_beta.generated.models.MacOSMinimumOperatingSystem::|public|v13_0(value:bool):None msgraph_beta.generated.models.MacOSMinimumOperatingSystem::|public|v14_0():bool msgraph_beta.generated.models.MacOSMinimumOperatingSystem::|public|v14_0(value:bool):None +msgraph_beta.generated.models.MacOSMinimumOperatingSystem::|public|v15_0():bool +msgraph_beta.generated.models.MacOSMinimumOperatingSystem::|public|v15_0(value:bool):None msgraph_beta.generated.models.MacOSMinimumOperatingSystem::|static|public|create_from_discriminator_value(parse_node:ParseNode):MacOSMinimumOperatingSystem msgraph_beta.generated.models.MacOSMinimumOperatingSystem~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.MacOSOfficeSuiteApp-->MobileApp @@ -203806,6 +203964,10 @@ msgraph_beta.generated.models.MobileLobApp::|public|size():int msgraph_beta.generated.models.MobileLobApp::|public|size(value:int):None msgraph_beta.generated.models.MobileLobApp::|static|public|create_from_discriminator_value(parse_node:ParseNode):MobileLobApp msgraph_beta.generated.models.MobileThreatDefenseConnector-->Entity +msgraph_beta.generated.models.MobileThreatDefenseConnector::|public|allow_partner_to_collect_ios_certificate_metadata():bool +msgraph_beta.generated.models.MobileThreatDefenseConnector::|public|allow_partner_to_collect_ios_certificate_metadata(value:bool):None +msgraph_beta.generated.models.MobileThreatDefenseConnector::|public|allow_partner_to_collect_ios_personal_certificate_metadata():bool +msgraph_beta.generated.models.MobileThreatDefenseConnector::|public|allow_partner_to_collect_ios_personal_certificate_metadata(value:bool):None msgraph_beta.generated.models.MobileThreatDefenseConnector::|public|allow_partner_to_collect_i_o_s_application_metadata():bool msgraph_beta.generated.models.MobileThreatDefenseConnector::|public|allow_partner_to_collect_i_o_s_application_metadata(value:bool):None msgraph_beta.generated.models.MobileThreatDefenseConnector::|public|allow_partner_to_collect_i_o_s_personal_application_metadata():bool @@ -208442,7 +208604,8 @@ msgraph_beta.generated.models.OperationApprovalPolicySet~~>AdditionalDataHolder; msgraph_beta.generated.models.OperationApprovalPolicyType::0000-Unknown msgraph_beta.generated.models.OperationApprovalPolicyType::0001-App msgraph_beta.generated.models.OperationApprovalPolicyType::0002-Script -msgraph_beta.generated.models.OperationApprovalPolicyType::0003-UnknownFutureValue +msgraph_beta.generated.models.OperationApprovalPolicyType::0003-Role +msgraph_beta.generated.models.OperationApprovalPolicyType::0004-UnknownFutureValue msgraph_beta.generated.models.OperationApprovalRequest-->Entity msgraph_beta.generated.models.OperationApprovalRequest::|public|approval_justification():str msgraph_beta.generated.models.OperationApprovalRequest::|public|approval_justification(value:str):None @@ -231199,6 +231362,8 @@ msgraph_beta.generated.models.ShipmentMethodCollectionResponse::|public|value(va msgraph_beta.generated.models.ShipmentMethodCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):ShipmentMethodCollectionResponse msgraph_beta.generated.models.ShipmentMethod~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.SignIn-->Entity +msgraph_beta.generated.models.SignIn::|public|agent():AgentSignIn +msgraph_beta.generated.models.SignIn::|public|agent(value:AgentSignIn):None msgraph_beta.generated.models.SignIn::|public|applied_conditional_access_policies():list[AppliedConditionalAccessPolicy] msgraph_beta.generated.models.SignIn::|public|applied_conditional_access_policies(value:list[AppliedConditionalAccessPolicy]):None msgraph_beta.generated.models.SignIn::|public|applied_event_listeners():list[AppliedAuthenticationEventListener] @@ -242873,6 +243038,8 @@ msgraph_beta.generated.models.Win32CatalogAppAssignmentSettings::|public|odata_t msgraph_beta.generated.models.Win32CatalogAppAssignmentSettings::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.Win32CatalogAppAssignmentSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):Win32CatalogAppAssignmentSettings msgraph_beta.generated.models.Win32LobApp-->MobileLobApp +msgraph_beta.generated.models.Win32LobApp::|public|allowed_architectures():WindowsArchitecture +msgraph_beta.generated.models.Win32LobApp::|public|allowed_architectures(value:WindowsArchitecture):None msgraph_beta.generated.models.Win32LobApp::|public|allow_available_uninstall():bool msgraph_beta.generated.models.Win32LobApp::|public|allow_available_uninstall(value:bool):None msgraph_beta.generated.models.Win32LobApp::|public|applicable_architectures():WindowsArchitecture @@ -247488,6 +247655,28 @@ msgraph_beta.generated.models.WindowsProtectionState::|public|signature_version( msgraph_beta.generated.models.WindowsProtectionState::|public|tamper_protection_enabled():bool msgraph_beta.generated.models.WindowsProtectionState::|public|tamper_protection_enabled(value:bool):None msgraph_beta.generated.models.WindowsProtectionState::|static|public|create_from_discriminator_value(parse_node:ParseNode):WindowsProtectionState +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|approval_method_type():WindowsQualityUpdatePolicyApprovalMethodType +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|approval_method_type(value:WindowsQualityUpdatePolicyApprovalMethodType):None +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|backing_store:BackingStore +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|constructor():None +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|deferred_deployment_in_day():int +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|deferred_deployment_in_day(value:int):None +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|odata_type():str +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|odata_type(value:str):None +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|windows_quality_update_cadence():WindowsQualityUpdateCadence +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|windows_quality_update_cadence(value:WindowsQualityUpdateCadence):None +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|windows_quality_update_category():WindowsQualityUpdateCategory +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|public|windows_quality_update_category(value:WindowsQualityUpdateCategory):None +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting::|static|public|create_from_discriminator_value(parse_node:ParseNode):WindowsQualityUpdateApprovalSetting +msgraph_beta.generated.models.WindowsQualityUpdateApprovalSetting~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.WindowsQualityUpdateApprovalStatus::0000-Unknown +msgraph_beta.generated.models.WindowsQualityUpdateApprovalStatus::0001-Approved +msgraph_beta.generated.models.WindowsQualityUpdateApprovalStatus::0002-Suspended +msgraph_beta.generated.models.WindowsQualityUpdateApprovalStatus::0003-UnknownFutureValue msgraph_beta.generated.models.WindowsQualityUpdateCadence::0000-Monthly msgraph_beta.generated.models.WindowsQualityUpdateCadence::0001-OutOfBand msgraph_beta.generated.models.WindowsQualityUpdateCadence::0002-UnknownFutureValue @@ -247507,6 +247696,22 @@ msgraph_beta.generated.models.WindowsQualityUpdateCatalogItem::|public|quality_u msgraph_beta.generated.models.WindowsQualityUpdateCatalogItem::|public|quality_update_cadence(value:WindowsQualityUpdateCadence):None msgraph_beta.generated.models.WindowsQualityUpdateCatalogItem::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.WindowsQualityUpdateCatalogItem::|static|public|create_from_discriminator_value(parse_node:ParseNode):WindowsQualityUpdateCatalogItem +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|approval_status():WindowsQualityUpdateApprovalStatus +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|approval_status(value:WindowsQualityUpdateApprovalStatus):None +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|backing_store:BackingStore +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|catalog_item_id():UUID +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|catalog_item_id(value:UUID):None +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|constructor():None +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|odata_type():str +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|odata_type(value:str):None +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|policy_id():UUID +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|policy_id(value:UUID):None +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail::|static|public|create_from_discriminator_value(parse_node:ParseNode):WindowsQualityUpdateCatalogItemPolicyDetail +msgraph_beta.generated.models.WindowsQualityUpdateCatalogItemPolicyDetail~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.WindowsQualityUpdateCatalogProductRevision::|public|additional_data():dict[str, Any] msgraph_beta.generated.models.WindowsQualityUpdateCatalogProductRevision::|public|additional_data(value:dict[str, Any]):None msgraph_beta.generated.models.WindowsQualityUpdateCatalogProductRevision::|public|backing_store:BackingStore @@ -247533,6 +247738,8 @@ msgraph_beta.generated.models.WindowsQualityUpdateCategory::0000-All msgraph_beta.generated.models.WindowsQualityUpdateCategory::0001-Security msgraph_beta.generated.models.WindowsQualityUpdateCategory::0002-NonSecurity msgraph_beta.generated.models.WindowsQualityUpdatePolicy-->Entity +msgraph_beta.generated.models.WindowsQualityUpdatePolicy::|public|approval_settings():list[WindowsQualityUpdateApprovalSetting] +msgraph_beta.generated.models.WindowsQualityUpdatePolicy::|public|approval_settings(value:list[WindowsQualityUpdateApprovalSetting]):None msgraph_beta.generated.models.WindowsQualityUpdatePolicy::|public|assignments():list[WindowsQualityUpdatePolicyAssignment] msgraph_beta.generated.models.WindowsQualityUpdatePolicy::|public|assignments(value:list[WindowsQualityUpdatePolicyAssignment]):None msgraph_beta.generated.models.WindowsQualityUpdatePolicy::|public|constructor():None @@ -247552,6 +247759,12 @@ msgraph_beta.generated.models.WindowsQualityUpdatePolicy::|public|role_scope_tag msgraph_beta.generated.models.WindowsQualityUpdatePolicy::|public|role_scope_tag_ids(value:list[str]):None msgraph_beta.generated.models.WindowsQualityUpdatePolicy::|public|serialize(writer:SerializationWriter):None msgraph_beta.generated.models.WindowsQualityUpdatePolicy::|static|public|create_from_discriminator_value(parse_node:ParseNode):WindowsQualityUpdatePolicy +msgraph_beta.generated.models.WindowsQualityUpdatePolicyActionType::0000-Approve +msgraph_beta.generated.models.WindowsQualityUpdatePolicyActionType::0001-Suspend +msgraph_beta.generated.models.WindowsQualityUpdatePolicyActionType::0002-UnknownFutureValue +msgraph_beta.generated.models.WindowsQualityUpdatePolicyApprovalMethodType::0000-Manual +msgraph_beta.generated.models.WindowsQualityUpdatePolicyApprovalMethodType::0001-Automatic +msgraph_beta.generated.models.WindowsQualityUpdatePolicyApprovalMethodType::0002-UnknownFutureValue msgraph_beta.generated.models.WindowsQualityUpdatePolicyAssignment-->Entity msgraph_beta.generated.models.WindowsQualityUpdatePolicyAssignment::|public|constructor():None msgraph_beta.generated.models.WindowsQualityUpdatePolicyAssignment::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -247652,6 +247865,14 @@ msgraph_beta.generated.models.WindowsQualityUpdateProfileCollectionResponse::|pu msgraph_beta.generated.models.WindowsQualityUpdateProfileCollectionResponse::|public|value():list[WindowsQualityUpdateProfile] msgraph_beta.generated.models.WindowsQualityUpdateProfileCollectionResponse::|public|value(value:list[WindowsQualityUpdateProfile]):None msgraph_beta.generated.models.WindowsQualityUpdateProfileCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):WindowsQualityUpdateProfileCollectionResponse +msgraph_beta.generated.models.WindowsRestoreDeviceEnrollmentConfiguration-->DeviceEnrollmentConfiguration +msgraph_beta.generated.models.WindowsRestoreDeviceEnrollmentConfiguration::|public|constructor():None +msgraph_beta.generated.models.WindowsRestoreDeviceEnrollmentConfiguration::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.WindowsRestoreDeviceEnrollmentConfiguration::|public|odata_type:str +msgraph_beta.generated.models.WindowsRestoreDeviceEnrollmentConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.WindowsRestoreDeviceEnrollmentConfiguration::|public|state():Enablement +msgraph_beta.generated.models.WindowsRestoreDeviceEnrollmentConfiguration::|public|state(value:Enablement):None +msgraph_beta.generated.models.WindowsRestoreDeviceEnrollmentConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):WindowsRestoreDeviceEnrollmentConfiguration msgraph_beta.generated.models.WindowsSetting-->Entity msgraph_beta.generated.models.WindowsSetting::|public|constructor():None msgraph_beta.generated.models.WindowsSetting::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] @@ -250340,6 +250561,8 @@ msgraph_beta.generated.models.X509CertificateAffinityLevel::0002-UnknownFutureVa msgraph_beta.generated.models.X509CertificateAuthenticationMethodConfiguration-->AuthenticationMethodConfiguration msgraph_beta.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|authentication_mode_configuration():X509CertificateAuthenticationModeConfiguration msgraph_beta.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|authentication_mode_configuration(value:X509CertificateAuthenticationModeConfiguration):None +msgraph_beta.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|certificate_authority_scopes():list[X509CertificateAuthorityScope] +msgraph_beta.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|certificate_authority_scopes(value:list[X509CertificateAuthorityScope]):None msgraph_beta.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|certificate_user_bindings():list[X509CertificateUserBinding] msgraph_beta.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|certificate_user_bindings(value:list[X509CertificateUserBinding]):None msgraph_beta.generated.models.X509CertificateAuthenticationMethodConfiguration::|public|constructor():None @@ -250370,6 +250593,22 @@ msgraph_beta.generated.models.X509CertificateAuthenticationModeConfiguration::|p msgraph_beta.generated.models.X509CertificateAuthenticationModeConfiguration::|public|x509_certificate_default_required_affinity_level(value:X509CertificateAffinityLevel):None msgraph_beta.generated.models.X509CertificateAuthenticationModeConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):X509CertificateAuthenticationModeConfiguration msgraph_beta.generated.models.X509CertificateAuthenticationModeConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|additional_data():dict[str, Any] +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|additional_data(value:dict[str, Any]):None +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|backing_store:BackingStore +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|constructor():None +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|get_field_deserializers():dict[str, Callable[[ParseNode], None]] +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|include_targets():list[IncludeTarget] +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|include_targets(value:list[IncludeTarget]):None +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|odata_type():str +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|odata_type(value:str):None +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|public_key_infrastructure_identifier():str +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|public_key_infrastructure_identifier(value:str):None +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|serialize(writer:SerializationWriter):None +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|subject_key_identifier():str +msgraph_beta.generated.models.X509CertificateAuthorityScope::|public|subject_key_identifier(value:str):None +msgraph_beta.generated.models.X509CertificateAuthorityScope::|static|public|create_from_discriminator_value(parse_node:ParseNode):X509CertificateAuthorityScope +msgraph_beta.generated.models.X509CertificateAuthorityScope~~>AdditionalDataHolder; BackedModel; Parsable msgraph_beta.generated.models.X509CertificateCombinationConfiguration-->AuthenticationCombinationConfiguration msgraph_beta.generated.models.X509CertificateCombinationConfiguration::|public|allowed_issuer_skis():list[str] msgraph_beta.generated.models.X509CertificateCombinationConfiguration::|public|allowed_issuer_skis(value:list[str]):None diff --git a/msgraph_beta/generated/kiota-lock.json b/msgraph_beta/generated/kiota-lock.json index b7c5e9f03d8..68b9cb56c4b 100644 --- a/msgraph_beta/generated/kiota-lock.json +++ b/msgraph_beta/generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "5CE7921A01946C1E1792D0719BDEA42D3C6A63D790C632FBB39CDE5BE9A939666A862ED398175F4E6278FC3652868D478E55020702254F00DEF34AB60891C89F", + "descriptionHash": "6516F0177EBE1D31E055A71F3E57E2619154DA13E476CEAE9328855C01EB1812B43C65D6DEEE30BF0AF0BBA91CAE56910333B15AC9E8224B7A17959DA6569EFA", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.25.1", + "kiotaVersion": "1.27.0", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "msgraph_beta.generated", diff --git a/msgraph_beta/generated/models/action_item.py b/msgraph_beta/generated/models/action_item.py index 955eeb9c6e2..e1947a3a104 100644 --- a/msgraph_beta/generated/models/action_item.py +++ b/msgraph_beta/generated/models/action_item.py @@ -14,11 +14,11 @@ class ActionItem(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The ownerDisplayName property + # The display name of the owner of the action item. owner_display_name: Optional[str] = None - # The text property + # The text content of the action item. text: Optional[str] = None - # The title property + # The title of the action item. title: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/activities_container.py b/msgraph_beta/generated/models/activities_container.py index 06607adf1ce..e125f618eba 100644 --- a/msgraph_beta/generated/models/activities_container.py +++ b/msgraph_beta/generated/models/activities_container.py @@ -12,7 +12,7 @@ @dataclass class ActivitiesContainer(Entity, Parsable): - # The contentActivities property + # Collection of activity logs related to content processing. content_activities: Optional[list[ContentActivity]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/agentic/agent_sign_in.py b/msgraph_beta/generated/models/agentic/agent_sign_in.py new file mode 100644 index 00000000000..ab238c07fbf --- /dev/null +++ b/msgraph_beta/generated/models/agentic/agent_sign_in.py @@ -0,0 +1,65 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .agent_type import AgentType + +@dataclass +class AgentSignIn(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # The agentType property + agent_type: Optional[AgentType] = None + # The OdataType property + odata_type: Optional[str] = None + # The parentAppId property + parent_app_id: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> AgentSignIn: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: AgentSignIn + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return AgentSignIn() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .agent_type import AgentType + + from .agent_type import AgentType + + fields: dict[str, Callable[[Any], None]] = { + "agentType": lambda n : setattr(self, 'agent_type', n.get_enum_value(AgentType)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "parentAppId": lambda n : setattr(self, 'parent_app_id', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_enum_value("agentType", self.agent_type) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("parentAppId", self.parent_app_id) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/agentic/agent_type.py b/msgraph_beta/generated/models/agentic/agent_type.py new file mode 100644 index 00000000000..0c881b5390b --- /dev/null +++ b/msgraph_beta/generated/models/agentic/agent_type.py @@ -0,0 +1,9 @@ +from enum import Enum + +class AgentType(str, Enum): + NotAgentic = "notAgentic", + AgenticAppBuilder = "agenticAppBuilder", + AgenticApp = "agenticApp", + AgenticAppInstance = "agenticAppInstance", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/ai_interaction_plugin.py b/msgraph_beta/generated/models/ai_interaction_plugin.py index bdc586d8524..06e75cb49ee 100644 --- a/msgraph_beta/generated/models/ai_interaction_plugin.py +++ b/msgraph_beta/generated/models/ai_interaction_plugin.py @@ -12,13 +12,13 @@ class AiInteractionPlugin(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The identifier property + # The unique identifier of the plugin. identifier: Optional[str] = None - # The name property + # The display name of the plugin. name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The version property + # The version of the plugin used. version: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/ai_online_meeting.py b/msgraph_beta/generated/models/ai_online_meeting.py index 151386f658e..c71fdbc36f2 100644 --- a/msgraph_beta/generated/models/ai_online_meeting.py +++ b/msgraph_beta/generated/models/ai_online_meeting.py @@ -12,7 +12,7 @@ @dataclass class AiOnlineMeeting(Entity, Parsable): - # The aiInsights property + # A set of AI insights associated with an AI online meeting. ai_insights: Optional[list[CallAiInsight]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/ai_user.py b/msgraph_beta/generated/models/ai_user.py index 743d56a03f2..324426ddec0 100644 --- a/msgraph_beta/generated/models/ai_user.py +++ b/msgraph_beta/generated/models/ai_user.py @@ -17,7 +17,7 @@ class AiUser(Entity, Parsable): interaction_history: Optional[AiInteractionHistory] = None # The OdataType property odata_type: Optional[str] = None - # The onlineMeetings property + # Information about an online meeting, including AI insights. online_meetings: Optional[list[AiOnlineMeeting]] = None @staticmethod diff --git a/msgraph_beta/generated/models/android_compliance_policy.py b/msgraph_beta/generated/models/android_compliance_policy.py index 04b7e074ca2..511055a5a8f 100644 --- a/msgraph_beta/generated/models/android_compliance_policy.py +++ b/msgraph_beta/generated/models/android_compliance_policy.py @@ -54,7 +54,7 @@ class AndroidCompliancePolicy(DeviceCompliancePolicy, Parsable): restricted_apps: Optional[list[AppListItem]] = None # Block device administrator managed devices. security_block_device_administrator_managed_devices: Optional[bool] = None - # Devices must not be jailbroken or rooted. + # Indicates the device should not be rooted. When TRUE, if the device is detected as rooted it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device rooted state. Default is FALSE. security_block_jailbroken_devices: Optional[bool] = None # Disable USB debugging on Android devices. security_disable_usb_debugging: Optional[bool] = None diff --git a/msgraph_beta/generated/models/android_device_owner_compliance_policy.py b/msgraph_beta/generated/models/android_device_owner_compliance_policy.py index f76d929e57d..d92d0f88b90 100644 --- a/msgraph_beta/generated/models/android_device_owner_compliance_policy.py +++ b/msgraph_beta/generated/models/android_device_owner_compliance_policy.py @@ -19,53 +19,55 @@ class AndroidDeviceOwnerCompliancePolicy(DeviceCompliancePolicy, Parsable): """ # The OdataType property odata_type: Optional[str] = "#microsoft.graph.androidDeviceOwnerCompliancePolicy" - # MDATP Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + # Indicates the Microsoft Defender for Endpoint (also referred to Microsoft Defender Advanced Threat Protection (MDATP)) minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. Possible values are: unavailable, secured, low, medium, high, notSet. advanced_threat_protection_required_security_level: Optional[DeviceThreatProtectionLevel] = None - # Require that devices have enabled device threat protection. + # Indicates whether the policy requires devices have device threat protection enabled. When TRUE, threat protection is enabled. When FALSE, threat protection is not enabled. Default is FALSE. device_threat_protection_enabled: Optional[bool] = None - # Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. + # Indicates the minimum mobile threat protection risk level to that results in Intune reporting device noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet. Possible values are: unavailable, secured, low, medium, high, notSet. device_threat_protection_required_security_level: Optional[DeviceThreatProtectionLevel] = None - # Minimum Android security patch level. + # Indicates the minimum Android security patch level required to mark the device as compliant. For example: 'February 1, 2025' min_android_security_patch_level: Optional[str] = None - # Maximum Android version. + # Indicates the maximum Android version required to mark the device as compliant. For example: '15' os_maximum_version: Optional[str] = None - # Minimum Android version. + # Indicates the minimum Android version required to mark the device as compliant. For example: '14' os_minimum_version: Optional[str] = None - # Number of days before the password expires. Valid values 1 to 365 + # Indicates the number of days before the password expires. Valid values 1 to 365. password_expiration_days: Optional[int] = None - # Minimum password length. Valid values 4 to 16 + # Indicates the minimum password length required to mark the device as compliant. Valid values are 4 to 16, inclusive. Valid values 4 to 16 password_minimum_length: Optional[int] = None - # Indicates the minimum number of letter characters required for device password. Valid values 1 to 16 + # Indicates the minimum number of letter characters required for device password for the device to be marked compliant. Valid values 1 to 16. password_minimum_letter_characters: Optional[int] = None - # Indicates the minimum number of lower case characters required for device password. Valid values 1 to 16 + # Indicates the minimum number of lower case characters required for device password for the device to be marked compliant. Valid values 1 to 16. password_minimum_lower_case_characters: Optional[int] = None - # Indicates the minimum number of non-letter characters required for device password. Valid values 1 to 16 + # Indicates the minimum number of non-letter characters required for device password for the device to be marked compliant. Valid values 1 to 16. password_minimum_non_letter_characters: Optional[int] = None - # Indicates the minimum number of numeric characters required for device password. Valid values 1 to 16 + # Indicates the minimum number of numeric characters required for device password for the device to be marked compliant. Valid values 1 to 16. password_minimum_numeric_characters: Optional[int] = None - # Indicates the minimum number of symbol characters required for device password. Valid values 1 to 16 + # Indicates the minimum number of symbol characters required for device password for the device to be marked compliant. Valid values 1 to 16. password_minimum_symbol_characters: Optional[int] = None - # Indicates the minimum number of upper case letter characters required for device password. Valid values 1 to 16 + # Indicates the minimum number of upper case letter characters required for device password for the device to be marked compliant. Valid values 1 to 16. password_minimum_upper_case_characters: Optional[int] = None - # Minutes of inactivity before a password is required. + # Indicates the number of minutes of inactivity before a password is required. password_minutes_of_inactivity_before_lock: Optional[int] = None - # Number of previous passwords to block. Valid values 1 to 24 + # Indicates the number of previous passwords to block. Valid values 1 to 24. password_previous_password_count_to_block: Optional[int] = None - # Require a password to unlock device. + # Indicates whether a password is required to unlock the device. When TRUE, there must be a password set that unlocks the device for the device to be marked as compliant. When FALSE, a device is marked as compliant whether or not a password is set as required to unlock the device. Default is FALSE. password_required: Optional[bool] = None - # Type of characters in password. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. + # Indicates the password complexity requirement for the device to be marked compliant. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. password_required_type: Optional[AndroidDeviceOwnerRequiredPasswordType] = None - # Require device to have no pending Android system updates. + # Indicates whether the device has pending security or OS updates and sets the compliance state accordingly. When TRUE, checks if there are any pending system updates on each check in and if there are any pending security or OS version updates (System Updates), the device will be reported as non-compliant. If set to FALSE, then checks for any pending security or OS version updates (System Updates) are done without impact to device compliance state. Default is FALSE. require_no_pending_system_updates: Optional[bool] = None - # If setting is set to true, checks that the Intune app installed on fully managed, dedicated, or corporate-owned work profile Android Enterprise enrolled devices, is the one provided by Microsoft from the Managed Google Playstore. If the check fails, the device will be reported as non-compliant. + # Indicates the device should not be rooted. When TRUE, if the device is detected as rooted it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device rooted state. Default is FALSE. + security_block_jailbroken_devices: Optional[bool] = None + # Indicates whether Intune application integrity is required to mark the device as compliant. When TRUE, Intune checks that the Intune app installed on fully managed, dedicated, or corporate-owned work profile Android Enterprise enrolled devices, is the one provided by Microsoft from the Managed Google Play store. If the check fails, the device will be reported as non-compliant. Default is FALSE. security_require_intune_app_integrity: Optional[bool] = None - # Require the device to pass the Play Integrity basic integrity check. + # Indicates whether the compliance check will validate the Google Play Integrity check. When TRUE, the Google Play integrity basic check must pass to consider the device compliant. When FALSE, the Google Play integrity basic check can pass or fail and the device will be considered compliant. Default is FALSE. security_require_safety_net_attestation_basic_integrity: Optional[bool] = None - # Require the device to pass the Play Integrity device integrity check. + # Indicates whether the compliance check will validate the Google Play Integrity check. When TRUE, the Google Play integrity device check must pass to consider the device compliant. When FALSE, the Google Play integrity device check can pass or fail and the device will be considered compliant. Default is FALSE. security_require_safety_net_attestation_certified_device: Optional[bool] = None - # Require a specific Play Integrity evaluation type for compliance. Possible values are: basic, hardwareBacked. + # Indicates the types of measurements and reference data used to evaluate the device SafetyNet evaluation. Evaluation is completed on the device to assess device integrity based on checks defined by Android and built into the device hardware, for example, compromised OS version or root detection. Possible values are: basic, hardwareBacked, with default value of basic. Possible values are: basic, hardwareBacked. security_required_android_safety_net_evaluation_type: Optional[AndroidSafetyNetEvaluationType] = None - # Require encryption on Android devices. + # Indicates whether encryption on Android devices is required to mark the device as compliant. storage_require_encryption: Optional[bool] = None @staticmethod @@ -114,6 +116,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "passwordRequired": lambda n : setattr(self, 'password_required', n.get_bool_value()), "passwordRequiredType": lambda n : setattr(self, 'password_required_type', n.get_enum_value(AndroidDeviceOwnerRequiredPasswordType)), "requireNoPendingSystemUpdates": lambda n : setattr(self, 'require_no_pending_system_updates', n.get_bool_value()), + "securityBlockJailbrokenDevices": lambda n : setattr(self, 'security_block_jailbroken_devices', n.get_bool_value()), "securityRequireIntuneAppIntegrity": lambda n : setattr(self, 'security_require_intune_app_integrity', n.get_bool_value()), "securityRequireSafetyNetAttestationBasicIntegrity": lambda n : setattr(self, 'security_require_safety_net_attestation_basic_integrity', n.get_bool_value()), "securityRequireSafetyNetAttestationCertifiedDevice": lambda n : setattr(self, 'security_require_safety_net_attestation_certified_device', n.get_bool_value()), @@ -152,6 +155,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("passwordRequired", self.password_required) writer.write_enum_value("passwordRequiredType", self.password_required_type) writer.write_bool_value("requireNoPendingSystemUpdates", self.require_no_pending_system_updates) + writer.write_bool_value("securityBlockJailbrokenDevices", self.security_block_jailbroken_devices) writer.write_bool_value("securityRequireIntuneAppIntegrity", self.security_require_intune_app_integrity) writer.write_bool_value("securityRequireSafetyNetAttestationBasicIntegrity", self.security_require_safety_net_attestation_basic_integrity) writer.write_bool_value("securityRequireSafetyNetAttestationCertifiedDevice", self.security_require_safety_net_attestation_certified_device) diff --git a/msgraph_beta/generated/models/android_for_work_compliance_policy.py b/msgraph_beta/generated/models/android_for_work_compliance_policy.py index ae8399504ed..6743dff5589 100644 --- a/msgraph_beta/generated/models/android_for_work_compliance_policy.py +++ b/msgraph_beta/generated/models/android_for_work_compliance_policy.py @@ -47,7 +47,7 @@ class AndroidForWorkCompliancePolicy(DeviceCompliancePolicy, Parsable): password_sign_in_failure_count_before_factory_reset: Optional[int] = None # The password complexity types that can be set on Android. One of: NONE, LOW, MEDIUM, HIGH. This is an API targeted to Android 11+. required_password_complexity: Optional[AndroidRequiredPasswordComplexity] = None - # Devices must not be jailbroken or rooted. + # Indicates the device should not be rooted. When TRUE, if the device is detected as rooted it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device rooted state. Default is FALSE. security_block_jailbroken_devices: Optional[bool] = None # Disable USB debugging on Android devices. security_disable_usb_debugging: Optional[bool] = None diff --git a/msgraph_beta/generated/models/android_work_profile_compliance_policy.py b/msgraph_beta/generated/models/android_work_profile_compliance_policy.py index 9b383cb1d9a..e880b33b860 100644 --- a/msgraph_beta/generated/models/android_work_profile_compliance_policy.py +++ b/msgraph_beta/generated/models/android_work_profile_compliance_policy.py @@ -49,7 +49,7 @@ class AndroidWorkProfileCompliancePolicy(DeviceCompliancePolicy, Parsable): password_sign_in_failure_count_before_factory_reset: Optional[int] = None # The password complexity types that can be set on Android. One of: NONE, LOW, MEDIUM, HIGH. This is an API targeted to Android 11+. required_password_complexity: Optional[AndroidRequiredPasswordComplexity] = None - # Devices must not be jailbroken or rooted. + # Indicates the device should not be rooted. When TRUE, if the device is detected as rooted it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device rooted state. Default is FALSE. security_block_jailbroken_devices: Optional[bool] = None # Disable USB debugging on Android devices. security_disable_usb_debugging: Optional[bool] = None diff --git a/msgraph_beta/generated/models/aosp_device_owner_compliance_policy.py b/msgraph_beta/generated/models/aosp_device_owner_compliance_policy.py index b8c7106da78..8c56d772bb3 100644 --- a/msgraph_beta/generated/models/aosp_device_owner_compliance_policy.py +++ b/msgraph_beta/generated/models/aosp_device_owner_compliance_policy.py @@ -31,7 +31,7 @@ class AospDeviceOwnerCompliancePolicy(DeviceCompliancePolicy, Parsable): password_required: Optional[bool] = None # Type of characters in password. Possible values are: deviceDefault, required, numeric, numericComplex, alphabetic, alphanumeric, alphanumericWithSymbols, lowSecurityBiometric, customPassword. password_required_type: Optional[AndroidDeviceOwnerRequiredPasswordType] = None - # Devices must not be jailbroken or rooted. + # Indicates the device should not be rooted. When TRUE, if the device is detected as rooted it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device rooted state. Default is FALSE. security_block_jailbroken_devices: Optional[bool] = None # Require encryption on Android devices. storage_require_encryption: Optional[bool] = None diff --git a/msgraph_beta/generated/models/application.py b/msgraph_beta/generated/models/application.py index ff9a690652e..68e1740fe22 100644 --- a/msgraph_beta/generated/models/application.py +++ b/msgraph_beta/generated/models/application.py @@ -76,7 +76,7 @@ class Application(DirectoryObject, Parsable): group_membership_claims: Optional[str] = None # The homeRealmDiscoveryPolicies property home_realm_discovery_policies: Optional[list[HomeRealmDiscoveryPolicy]] = None - # Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. You can use the default value provided, which is in the form api://, or specify a more readable URI like https://contoso.com/api. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). + # Also known as App ID URI, this value is set when an application is used as a resource app. The identifierUris acts as the prefix for the scopes you reference in your API's code, and it must be globally unique. For more information on valid identifierUris patterns and best practices, see Microsoft Entra application registration security best practices. Not nullable. Supports $filter (eq, ne, ge, le, startsWith). identifier_uris: Optional[list[str]] = None # Basic profile information of the application, such as it's marketing, support, terms of service, and privacy statement URLs. The terms of service and privacy statement are surfaced to users through the user consent experience. For more information, see How to: Add Terms of service and privacy statement for registered Microsoft Entra apps. Supports $filter (eq, ne, not, ge, le, and eq on null values). info: Optional[InformationalUrl] = None diff --git a/msgraph_beta/generated/models/audience_restriction.py b/msgraph_beta/generated/models/audience_restriction.py index fcbc0ad1b9d..ae42dc051a1 100644 --- a/msgraph_beta/generated/models/audience_restriction.py +++ b/msgraph_beta/generated/models/audience_restriction.py @@ -17,7 +17,7 @@ class AudienceRestriction(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute, they're exempted from the restriction. + # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute defined in this section, they're exempted from the restriction. This means that calls the user or service principal makes to create or update apps are exempt from this policy enforcement. exclude_actors: Optional[AppManagementPolicyActorExemptions] = None # The isStateSetByMicrosoft property is_state_set_by_microsoft: Optional[bool] = None diff --git a/msgraph_beta/generated/models/binary_content.py b/msgraph_beta/generated/models/binary_content.py index c895efc53bf..2e7f9c6a91f 100644 --- a/msgraph_beta/generated/models/binary_content.py +++ b/msgraph_beta/generated/models/binary_content.py @@ -13,7 +13,7 @@ class BinaryContent(ContentBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.binaryContent" - # The data property + # The binary content, encoded as a Base64 string. Inherited from contentBase. data: Optional[bytes] = None @staticmethod diff --git a/msgraph_beta/generated/models/bulk_catalog_item_action_result.py b/msgraph_beta/generated/models/bulk_catalog_item_action_result.py new file mode 100644 index 00000000000..64bcf0c3a7c --- /dev/null +++ b/msgraph_beta/generated/models/bulk_catalog_item_action_result.py @@ -0,0 +1,61 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +@dataclass +class BulkCatalogItemActionResult(AdditionalDataHolder, BackedModel, Parsable): + """ + A complex type to represent the result of bulk QU catalog action. + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # List of catalog item Ids where the action is failed. + failed_ids: Optional[list[str]] = None + # The OdataType property + odata_type: Optional[str] = None + # List of catalog item Ids where the action is successful. + successful_ids: Optional[list[str]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> BulkCatalogItemActionResult: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: BulkCatalogItemActionResult + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return BulkCatalogItemActionResult() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + fields: dict[str, Callable[[Any], None]] = { + "failedIds": lambda n : setattr(self, 'failed_ids', n.get_collection_of_primitive_values(str)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "successfulIds": lambda n : setattr(self, 'successful_ids', n.get_collection_of_primitive_values(str)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_collection_of_primitive_values("failedIds", self.failed_ids) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_collection_of_primitive_values("successfulIds", self.successful_ids) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/call_ai_insight.py b/msgraph_beta/generated/models/call_ai_insight.py index ff992ed9c56..e0f1de9c7ec 100644 --- a/msgraph_beta/generated/models/call_ai_insight.py +++ b/msgraph_beta/generated/models/call_ai_insight.py @@ -15,21 +15,21 @@ @dataclass class CallAiInsight(Entity, Parsable): - # The actionItems property + # The collection of AI-generated action items. Read-only. action_items: Optional[list[ActionItem]] = None - # The callId property + # The ID for the online meeting call for which the callAiInsight was generated. Read-only. call_id: Optional[str] = None - # The contentCorrelationId property + # The unique ID that correlates the transcript from which the insights were generated. Read-only. content_correlation_id: Optional[str] = None - # The createdDateTime property + # Date and time at which the corresponding transcript was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. created_date_time: Optional[datetime.datetime] = None - # The endDateTime property + # Date and time at which the corresponding transcription ends. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. end_date_time: Optional[datetime.datetime] = None - # The meetingNotes property + # The collection of AI-generated meeting notes. Read-only. meeting_notes: Optional[list[MeetingNote]] = None # The OdataType property odata_type: Optional[str] = None - # The viewpoint property + # The caller-specific properties of the callAiInsight entity. Read-only. viewpoint: Optional[CallAiInsightViewPoint] = None @staticmethod diff --git a/msgraph_beta/generated/models/call_ai_insight_view_point.py b/msgraph_beta/generated/models/call_ai_insight_view_point.py index f51272463ec..044fe636aac 100644 --- a/msgraph_beta/generated/models/call_ai_insight_view_point.py +++ b/msgraph_beta/generated/models/call_ai_insight_view_point.py @@ -15,7 +15,7 @@ class CallAiInsightViewPoint(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The mentionEvents property + # The collection of AI-generated mention events. mention_events: Optional[list[MentionEvent]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/classifcation_error_base.py b/msgraph_beta/generated/models/classifcation_error_base.py index 9be729af06c..5439f857953 100644 --- a/msgraph_beta/generated/models/classifcation_error_base.py +++ b/msgraph_beta/generated/models/classifcation_error_base.py @@ -17,15 +17,15 @@ class ClassifcationErrorBase(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The code property + # A service-defined error code string. code: Optional[str] = None - # The innerError property + # Contains more specific, potentially internal error details. inner_error: Optional[ClassificationInnerError] = None - # The message property + # A human-readable representation of the error. message: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The target property + # The target of the error (for example, the specific property or item causing the issue). target: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/classification_error.py b/msgraph_beta/generated/models/classification_error.py index fcc4b33b8d6..b0b5bc2f86e 100644 --- a/msgraph_beta/generated/models/classification_error.py +++ b/msgraph_beta/generated/models/classification_error.py @@ -12,7 +12,7 @@ @dataclass class ClassificationError(ClassifcationErrorBase, Parsable): - # The details property + # A collection of more specific errors that contribute to the overall error. details: Optional[list[ClassifcationErrorBase]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/classification_inner_error.py b/msgraph_beta/generated/models/classification_inner_error.py index cc1151fcda9..8e1bde61fa0 100644 --- a/msgraph_beta/generated/models/classification_inner_error.py +++ b/msgraph_beta/generated/models/classification_inner_error.py @@ -13,13 +13,13 @@ class ClassificationInnerError(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The activityId property + # The activity ID associated with the request that generated the error. activity_id: Optional[str] = None - # The clientRequestId property + # The client request ID, if provided by the caller. client_request_id: Optional[str] = None - # The code property + # A more specific, potentially internal, error code string. code: Optional[str] = None - # The errorDateTime property + # The date and time the inner error occurred. error_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/content_activity.py b/msgraph_beta/generated/models/content_activity.py index 1af4f784d64..b98e8788bde 100644 --- a/msgraph_beta/generated/models/content_activity.py +++ b/msgraph_beta/generated/models/content_activity.py @@ -16,9 +16,9 @@ class ContentActivity(Entity, Parsable): content_metadata: Optional[ProcessContentRequest] = None # The OdataType property odata_type: Optional[str] = None - # The scopeIdentifier property + # The scope identified from computed protection scopes. scope_identifier: Optional[str] = None - # The userId property + # ID of the user. user_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/copilot_admin_limited_mode.py b/msgraph_beta/generated/models/copilot_admin_limited_mode.py index 55b474b4a07..942de1ed494 100644 --- a/msgraph_beta/generated/models/copilot_admin_limited_mode.py +++ b/msgraph_beta/generated/models/copilot_admin_limited_mode.py @@ -11,9 +11,9 @@ @dataclass class CopilotAdminLimitedMode(Entity, Parsable): - # The ID of a Microsoft Entra group to which the value of the isEnabledForGroup property is applied value. The default value is null. This parameter is optional. If isEnabledForGroup is set to true, the groupId value must be provided in order for Copilot limited mode in Teams meetings to be enabled for the members of the group. + # The ID of a Microsoft Entra group, for which the value of isEnabledForGroup is applied. The default value is null. If isEnabledForGroup is set to true, the groupId value must be provided for the Copilot limited mode in Teams meetings to be enabled for the members of the group. Optional. group_id: Optional[str] = None - # Enables the user to be in limited mode for Copilot in Teams meetings. When copilotAdminLimitedMode=true, users in this mode can ask any questions, but Copilot doesn't respond to certain questions related to inferring emotions, behavior, or judgments. When copilotAdminLimitedMode=false, it responds to any types of questions grounded to the meeting conversation. The default value is false. + # Enables the user to be in limited mode for Copilot in Teams meetings. When copilotAdminLimitedMode=true, users in this mode can ask any questions, but Copilot doesn't respond to certain questions related to inferring emotions, behavior, or judgments. When copilotAdminLimitedMode=false, it responds to all types of questions grounded to the meeting conversation. The default value is false. is_enabled_for_group: Optional[bool] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/copilot_admin_setting.py b/msgraph_beta/generated/models/copilot_admin_setting.py index a88225f422c..2da1f12c49b 100644 --- a/msgraph_beta/generated/models/copilot_admin_setting.py +++ b/msgraph_beta/generated/models/copilot_admin_setting.py @@ -12,7 +12,7 @@ @dataclass class CopilotAdminSetting(Entity, Parsable): - # Represents a setting that controls whether Microsoft 365 Copilot in Teams meetings users can receive responses to sentiment-related prompts. Read-only. Nullable. + # Represents a setting that controls whether users of Microsoft 365 Copilot in Teams meetings can receive responses to sentiment-related prompts. Read-only. Nullable. limited_mode: Optional[CopilotAdminLimitedMode] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_and_app_management_role_assignment.py b/msgraph_beta/generated/models/device_and_app_management_role_assignment.py index 924eb6be753..889908b0f9f 100644 --- a/msgraph_beta/generated/models/device_and_app_management_role_assignment.py +++ b/msgraph_beta/generated/models/device_and_app_management_role_assignment.py @@ -15,11 +15,11 @@ class DeviceAndAppManagementRoleAssignment(RoleAssignment, Parsable): """ The Role Assignment resource. Role assignments tie together a role definition with members and scopes. There can be one or more role assignments per role. This applies to custom and built-in roles. """ - # The list of ids of role member security groups. These are IDs from Azure Active Directory. + # Indicates the list of role member security group Entra IDs. For example: {dec942f4-6777-4998-96b4-522e383b08e2}. members: Optional[list[str]] = None # The OdataType property odata_type: Optional[str] = None - # The set of Role Scope Tags defined on the Role Assignment. + # Indicates the set of scope tags for the role assignment. These scope tags will limit the visibility of any Intune resources to those that match any of the scope tags in this collection. role_scope_tags: Optional[list[RoleScopeTag]] = None @staticmethod diff --git a/msgraph_beta/generated/models/device_enrollment_configuration.py b/msgraph_beta/generated/models/device_enrollment_configuration.py index a97da349664..299f79fcbb9 100644 --- a/msgraph_beta/generated/models/device_enrollment_configuration.py +++ b/msgraph_beta/generated/models/device_enrollment_configuration.py @@ -16,6 +16,7 @@ from .enrollment_configuration_assignment import EnrollmentConfigurationAssignment from .entity import Entity from .windows10_enrollment_completion_page_configuration import Windows10EnrollmentCompletionPageConfiguration + from .windows_restore_device_enrollment_configuration import WindowsRestoreDeviceEnrollmentConfiguration from .entity import Entity @@ -87,6 +88,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> DeviceEnrollmentCo from .windows10_enrollment_completion_page_configuration import Windows10EnrollmentCompletionPageConfiguration return Windows10EnrollmentCompletionPageConfiguration() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsRestoreDeviceEnrollmentConfiguration".casefold(): + from .windows_restore_device_enrollment_configuration import WindowsRestoreDeviceEnrollmentConfiguration + + return WindowsRestoreDeviceEnrollmentConfiguration() return DeviceEnrollmentConfiguration() def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: @@ -104,6 +109,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .enrollment_configuration_assignment import EnrollmentConfigurationAssignment from .entity import Entity from .windows10_enrollment_completion_page_configuration import Windows10EnrollmentCompletionPageConfiguration + from .windows_restore_device_enrollment_configuration import WindowsRestoreDeviceEnrollmentConfiguration from .device_comanagement_authority_configuration import DeviceComanagementAuthorityConfiguration from .device_enrollment_configuration_type import DeviceEnrollmentConfigurationType @@ -115,6 +121,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .enrollment_configuration_assignment import EnrollmentConfigurationAssignment from .entity import Entity from .windows10_enrollment_completion_page_configuration import Windows10EnrollmentCompletionPageConfiguration + from .windows_restore_device_enrollment_configuration import WindowsRestoreDeviceEnrollmentConfiguration fields: dict[str, Callable[[Any], None]] = { "assignments": lambda n : setattr(self, 'assignments', n.get_collection_of_object_values(EnrollmentConfigurationAssignment)), diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py index f6ed83c37f3..4de4354b540 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_definition.py @@ -28,19 +28,19 @@ class DeviceManagementConfigurationSettingDefinition(Entity, Parsable): # The accessTypes property access_types: Optional[DeviceManagementConfigurationSettingAccessTypes] = None - # Details which device setting is applicable on. Supports: $filters. + # Details which device setting is applicable on applicability: Optional[DeviceManagementConfigurationSettingApplicability] = None # Base CSP Path base_uri: Optional[str] = None - # Specify category in which the setting is under. Support $filters. + # Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) category_id: Optional[str] = None - # Description of the setting. + # Description of the item description: Optional[str] = None - # Name of the setting. For example: Allow Toast. + # Display name of the item display_name: Optional[str] = None - # Help text of the setting. Give more details of the setting. + # Help text of the item help_text: Optional[str] = None - # List of links more info for the setting can be found at. + # List of links more info for the setting can be found at info_urls: Optional[list[str]] = None # Tokens which to search settings on keywords: Optional[list[str]] = None @@ -56,7 +56,7 @@ class DeviceManagementConfigurationSettingDefinition(Entity, Parsable): referred_setting_information_list: Optional[list[DeviceManagementConfigurationReferredSettingInformation]] = None # Setting RiskLevel risk_level: Optional[DeviceManagementConfigurationSettingRiskLevel] = None - # Root setting definition id if the setting is a child setting. + # Root setting definition if the setting is a child setting. root_definition_id: Optional[str] = None # Supported setting types setting_usage: Optional[DeviceManagementConfigurationSettingUsage] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py index f82b84785f3..87bf0f2aec5 100644 --- a/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_setting_group_collection_definition.py @@ -11,9 +11,9 @@ @dataclass class DeviceManagementConfigurationSettingGroupCollectionDefinition(DeviceManagementConfigurationSettingGroupDefinition, Parsable): - # Maximum number of setting group count in the collection. Valid values 1 to 100 + # Maximum number of setting group count in the collection maximum_count: Optional[int] = None - # Minimum number of setting group count in the collection. Valid values 1 to 100 + # Minimum number of setting group count in the collection minimum_count: Optional[int] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py b/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py index 2edd1402d50..c5ea07f9878 100644 --- a/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_simple_setting_definition.py @@ -16,15 +16,15 @@ @dataclass class DeviceManagementConfigurationSimpleSettingDefinition(DeviceManagementConfigurationSettingDefinition, Parsable): - # Default setting value for this setting. + # Default setting value for this setting default_value: Optional[DeviceManagementConfigurationSettingValue] = None - # list of child settings that depend on this setting. + # list of child settings that depend on this setting depended_on_by: Optional[list[DeviceManagementConfigurationSettingDependedOnBy]] = None - # list of parent settings this setting is dependent on. + # list of parent settings this setting is dependent on dependent_on: Optional[list[DeviceManagementConfigurationDependentOn]] = None # The OdataType property odata_type: Optional[str] = None - # Definition of the value for this setting. + # Definition of the value for this setting value_definition: Optional[DeviceManagementConfigurationSettingValueDefinition] = None @staticmethod diff --git a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py index 3dbb5ddbd24..99e0d1ac5da 100644 --- a/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py +++ b/msgraph_beta/generated/models/device_management_configuration_string_setting_value_definition.py @@ -19,15 +19,15 @@ class DeviceManagementConfigurationStringSettingValueDefinition(DeviceManagement odata_type: Optional[str] = "#microsoft.graph.deviceManagementConfigurationStringSettingValueDefinition" # Supported file types for this setting. file_types: Optional[list[str]] = None - # Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. + # Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. format: Optional[DeviceManagementConfigurationStringFormat] = None # Regular expression or any xml or json schema that the input string should match input_validation_schema: Optional[str] = None # Specifies whether the setting needs to be treated as a secret. Settings marked as yes will be encrypted in transit and at rest and will be displayed as asterisks when represented in the UX. is_secret: Optional[bool] = None - # Maximum length of string. Valid values 0 to 87516 + # Maximum length of string maximum_length: Optional[int] = None - # Minimum length of string. Valid values 0 to 87516 + # Minimum length of string minimum_length: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/enrollment_time_device_membership_target_type.py b/msgraph_beta/generated/models/enrollment_time_device_membership_target_type.py index 92e37fd3938..af68482528b 100644 --- a/msgraph_beta/generated/models/enrollment_time_device_membership_target_type.py +++ b/msgraph_beta/generated/models/enrollment_time_device_membership_target_type.py @@ -1,8 +1,6 @@ from enum import Enum class EnrollmentTimeDeviceMembershipTargetType(str, Enum): - # Default value. Do not use. - Unknown = "unknown", # Indicates the device membership target specified refer to static Entra Security Groups. StaticSecurityGroup = "staticSecurityGroup", # Evolvable enumeration sentinel value. Do not use. diff --git a/msgraph_beta/generated/models/enrollment_time_device_membership_target_validation_error_code.py b/msgraph_beta/generated/models/enrollment_time_device_membership_target_validation_error_code.py index 29db8529f92..8d5eb931dd6 100644 --- a/msgraph_beta/generated/models/enrollment_time_device_membership_target_validation_error_code.py +++ b/msgraph_beta/generated/models/enrollment_time_device_membership_target_validation_error_code.py @@ -1,8 +1,6 @@ from enum import Enum class EnrollmentTimeDeviceMembershipTargetValidationErrorCode(str, Enum): - # Default. Indicates the status of device membership target is not specified. Do not use. - Unknown = "unknown", # Indicates device membership target cannot be found. SecurityGroupNotFound = "securityGroupNotFound", # Indicates device membership target is not a security group. diff --git a/msgraph_beta/generated/models/entity.py b/msgraph_beta/generated/models/entity.py index 7bcc4577dd3..bba93a49779 100644 --- a/msgraph_beta/generated/models/entity.py +++ b/msgraph_beta/generated/models/entity.py @@ -1977,6 +1977,7 @@ from .windows_quality_update_policy_assignment import WindowsQualityUpdatePolicyAssignment from .windows_quality_update_profile import WindowsQualityUpdateProfile from .windows_quality_update_profile_assignment import WindowsQualityUpdateProfileAssignment + from .windows_restore_device_enrollment_configuration import WindowsRestoreDeviceEnrollmentConfiguration from .windows_setting import WindowsSetting from .windows_setting_instance import WindowsSettingInstance from .windows_store_app import WindowsStoreApp @@ -10043,6 +10044,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .windows_quality_update_profile_assignment import WindowsQualityUpdateProfileAssignment return WindowsQualityUpdateProfileAssignment() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsRestoreDeviceEnrollmentConfiguration".casefold(): + from .windows_restore_device_enrollment_configuration import WindowsRestoreDeviceEnrollmentConfiguration + + return WindowsRestoreDeviceEnrollmentConfiguration() if mapping_value and mapping_value.casefold() == "#microsoft.graph.windowsSetting".casefold(): from .windows_setting import WindowsSetting @@ -12393,6 +12398,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .windows_quality_update_policy_assignment import WindowsQualityUpdatePolicyAssignment from .windows_quality_update_profile import WindowsQualityUpdateProfile from .windows_quality_update_profile_assignment import WindowsQualityUpdateProfileAssignment + from .windows_restore_device_enrollment_configuration import WindowsRestoreDeviceEnrollmentConfiguration from .windows_setting import WindowsSetting from .windows_setting_instance import WindowsSettingInstance from .windows_store_app import WindowsStoreApp @@ -14458,6 +14464,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .windows_quality_update_policy_assignment import WindowsQualityUpdatePolicyAssignment from .windows_quality_update_profile import WindowsQualityUpdateProfile from .windows_quality_update_profile_assignment import WindowsQualityUpdateProfileAssignment + from .windows_restore_device_enrollment_configuration import WindowsRestoreDeviceEnrollmentConfiguration from .windows_setting import WindowsSetting from .windows_setting_instance import WindowsSettingInstance from .windows_store_app import WindowsStoreApp diff --git a/msgraph_beta/generated/models/extended_key_usage.py b/msgraph_beta/generated/models/extended_key_usage.py index 1ea561e4126..1e39c859ba0 100644 --- a/msgraph_beta/generated/models/extended_key_usage.py +++ b/msgraph_beta/generated/models/extended_key_usage.py @@ -15,9 +15,9 @@ class ExtendedKeyUsage(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Extended Key Usage Name + # The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. name: Optional[str] = None - # Extended Key Usage Object Identifier + # The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. object_identifier: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/identifier_uri_configuration.py b/msgraph_beta/generated/models/identifier_uri_configuration.py index 543d834e1b3..1b1c4e00bd9 100644 --- a/msgraph_beta/generated/models/identifier_uri_configuration.py +++ b/msgraph_beta/generated/models/identifier_uri_configuration.py @@ -15,7 +15,7 @@ class IdentifierUriConfiguration(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Block new identifier URIs for applications, unless they are the 'default' URI of the format api://{appId}. + # Block new identifier URIs for applications, unless they are the 'default' URI of the format api://{appId} or api://{tenantId}/{appId}. non_default_uri_addition: Optional[IdentifierUriRestriction] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/identifier_uri_restriction.py b/msgraph_beta/generated/models/identifier_uri_restriction.py index 407a27f51f5..766fbb521a4 100644 --- a/msgraph_beta/generated/models/identifier_uri_restriction.py +++ b/msgraph_beta/generated/models/identifier_uri_restriction.py @@ -17,7 +17,7 @@ class IdentifierUriRestriction(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute, they're exempted from the restriction. + # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute defined in this section, they're exempted from the restriction. This means that calls the user or service principal makes to create or update apps are exempt from this policy enforcement. exclude_actors: Optional[AppManagementPolicyActorExemptions] = None # If true, the restriction isn't enforced for applications that are configured to receive V2 tokens in Microsoft Entra ID; else, the restriction isn't enforced for those applications. exclude_apps_receiving_v2_tokens: Optional[bool] = None diff --git a/msgraph_beta/generated/models/identity.py b/msgraph_beta/generated/models/identity.py index 4d35aa8cef1..3c725d47997 100644 --- a/msgraph_beta/generated/models/identity.py +++ b/msgraph_beta/generated/models/identity.py @@ -39,9 +39,9 @@ class Identity(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The display name of the identity. This property is read-only. + # The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta. display_name: Optional[str] = None - # The identifier of the identity. This property is read-only. + # Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. id: Optional[str] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/integrated_application_metadata.py b/msgraph_beta/generated/models/integrated_application_metadata.py index 3d10578ca3a..b8839096921 100644 --- a/msgraph_beta/generated/models/integrated_application_metadata.py +++ b/msgraph_beta/generated/models/integrated_application_metadata.py @@ -15,11 +15,11 @@ class IntegratedApplicationMetadata(AdditionalDataHolder, BackedModel, Parsable) # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The name property + # The name of the integrated application. name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The version property + # The version number of the integrated application. version: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/ios_compliance_policy.py b/msgraph_beta/generated/models/ios_compliance_policy.py index 634cac1f20a..732f0431275 100644 --- a/msgraph_beta/generated/models/ios_compliance_policy.py +++ b/msgraph_beta/generated/models/ios_compliance_policy.py @@ -55,7 +55,7 @@ class IosCompliancePolicy(DeviceCompliancePolicy, Parsable): passcode_required_type: Optional[RequiredPasswordType] = None # Require the device to not have the specified apps installed. This collection can contain a maximum of 100 elements. restricted_apps: Optional[list[AppListItem]] = None - # Devices must not be jailbroken or rooted. + # Indicates the device should not be jailbroken. When TRUE, if the device is detected as jailbroken it will be reported non-compliant. When FALSE, the device is not reported as non-compliant regardless of device jailbroken state. Default is FALSE. security_block_jailbroken_devices: Optional[bool] = None @staticmethod diff --git a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py index 69d5ab03382..8e040b17c44 100644 --- a/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py +++ b/msgraph_beta/generated/models/ios_lob_app_provisioning_configuration.py @@ -19,7 +19,7 @@ class IosLobAppProvisioningConfiguration(Entity, Parsable): """ This topic provides descriptions of the declared methods, properties and relationships exposed by the iOS LOB App Provisioning Configuration resource. """ - # The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. + # The associated group assignments for IosLobAppProvisioningConfiguration. assignments: Optional[list[IosLobAppProvisioningConfigurationAssignment]] = None # DateTime the object was created. created_date_time: Optional[datetime.datetime] = None @@ -29,7 +29,7 @@ class IosLobAppProvisioningConfiguration(Entity, Parsable): device_statuses: Optional[list[ManagedDeviceMobileAppConfigurationDeviceStatus]] = None # Admin provided name of the device configuration. display_name: Optional[str] = None - # Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. + # Optional profile expiration date and time. expiration_date_time: Optional[datetime.datetime] = None # The associated group assignments. group_assignments: Optional[list[MobileAppProvisioningConfigGroupAssignment]] = None diff --git a/msgraph_beta/generated/models/ios_minimum_operating_system.py b/msgraph_beta/generated/models/ios_minimum_operating_system.py index f267da01801..961f1790f55 100644 --- a/msgraph_beta/generated/models/ios_minimum_operating_system.py +++ b/msgraph_beta/generated/models/ios_minimum_operating_system.py @@ -17,25 +17,27 @@ class IosMinimumOperatingSystem(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # When TRUE, only Version 10.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + # Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 10.0 or later is required to install the app. If 'False', iOS Version 10.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v10_0: Optional[bool] = None - # When TRUE, only Version 11.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + # Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 11.0 or later is required to install the app. If 'False', iOS Version 11.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v11_0: Optional[bool] = None - # When TRUE, only Version 12.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + # Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 12.0 or later is required to install the app. If 'False', iOS Version 12.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v12_0: Optional[bool] = None - # When TRUE, only Version 13.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + # Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 13.0 or later is required to install the app. If 'False', iOS Version 13.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v13_0: Optional[bool] = None - # When TRUE, only Version 14.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + # Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 14.0 or later is required to install the app. If 'False', iOS Version 14.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v14_0: Optional[bool] = None - # When TRUE, only Version 15.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + # Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 15.0 or later is required to install the app. If 'False', iOS Version 15.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v15_0: Optional[bool] = None - # When TRUE, only Version 16.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + # Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 16.0 or later is required to install the app. If 'False', iOS Version 16.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v16_0: Optional[bool] = None - # When TRUE, only Version 17.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + # Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 17.0 or later is required to install the app. If 'False', iOS Version 17.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v17_0: Optional[bool] = None - # When TRUE, only Version 8.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + # Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 18.0 or later is required to install the app. If 'False', iOS Version 18.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. + v18_0: Optional[bool] = None + # Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 8.0 or later is required to install the app. If 'False', iOS Version 8.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v8_0: Optional[bool] = None - # When TRUE, only Version 9.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE. + # Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 9.0 or later is required to install the app. If 'False', iOS Version 9.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v9_0: Optional[bool] = None @staticmethod @@ -64,6 +66,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "v15_0": lambda n : setattr(self, 'v15_0', n.get_bool_value()), "v16_0": lambda n : setattr(self, 'v16_0', n.get_bool_value()), "v17_0": lambda n : setattr(self, 'v17_0', n.get_bool_value()), + "v18_0": lambda n : setattr(self, 'v18_0', n.get_bool_value()), "v8_0": lambda n : setattr(self, 'v8_0', n.get_bool_value()), "v9_0": lambda n : setattr(self, 'v9_0', n.get_bool_value()), } @@ -86,6 +89,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("v15_0", self.v15_0) writer.write_bool_value("v16_0", self.v16_0) writer.write_bool_value("v17_0", self.v17_0) + writer.write_bool_value("v18_0", self.v18_0) writer.write_bool_value("v8_0", self.v8_0) writer.write_bool_value("v9_0", self.v9_0) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/key_credential_configuration.py b/msgraph_beta/generated/models/key_credential_configuration.py index e94fe5acdf1..8023afd269d 100644 --- a/msgraph_beta/generated/models/key_credential_configuration.py +++ b/msgraph_beta/generated/models/key_credential_configuration.py @@ -20,7 +20,7 @@ class KeyCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # Collection of GUIDs that represent certificateBasedApplicationConfiguration that is allowed as root and intermediate certificate authorities. certificate_based_application_configuration_ids: Optional[list[str]] = None - # The excludeActors property + # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute defined in this section, they're exempted from the restriction. This means that calls the user or service principal makes to create or update apps are exempt from this policy enforcement. exclude_actors: Optional[AppManagementPolicyActorExemptions] = None # String value that indicates the maximum lifetime for key expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to keyLifetime. max_lifetime: Optional[datetime.timedelta] = None diff --git a/msgraph_beta/generated/models/mac_o_s_minimum_operating_system.py b/msgraph_beta/generated/models/mac_o_s_minimum_operating_system.py index 8e295587d19..517312dffbb 100644 --- a/msgraph_beta/generated/models/mac_o_s_minimum_operating_system.py +++ b/msgraph_beta/generated/models/mac_o_s_minimum_operating_system.py @@ -17,32 +17,34 @@ class MacOSMinimumOperatingSystem(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # When TRUE, indicates OS X 10.10 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.10 or later is required to install the app. If 'False', OS X Version 10.10 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v10_10: Optional[bool] = None - # When TRUE, indicates OS X 10.11 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.11 or later is required to install the app. If 'False', OS X Version 10.11 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v10_11: Optional[bool] = None - # When TRUE, indicates macOS 10.12 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.12 or later is required to install the app. If 'False', OS X Version 10.12 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v10_12: Optional[bool] = None - # When TRUE, indicates macOS 10.13 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.13 or later is required to install the app. If 'False', OS X Version 10.13 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v10_13: Optional[bool] = None - # When TRUE, indicates macOS 10.14 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.14 or later is required to install the app. If 'False', OS X Version 10.14 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v10_14: Optional[bool] = None - # When TRUE, indicates macOS 10.15 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.15 or later is required to install the app. If 'False', OS X Version 10.15 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v10_15: Optional[bool] = None - # When TRUE, indicates Mac OS X 10.7 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.7 or later is required to install the app. If 'False', OS X Version 10.7 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v10_7: Optional[bool] = None - # When TRUE, indicates OS X 10.8 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.8 or later is required to install the app. If 'False', OS X Version 10.8 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v10_8: Optional[bool] = None - # When TRUE, indicates OS X 10.9 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 10.9 or later is required to install the app. If 'False', OS X Version 10.9 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v10_9: Optional[bool] = None - # When TRUE, indicates macOS 11.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 11.0 or later is required to install the app. If 'False', OS X Version 11.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v11_0: Optional[bool] = None - # When TRUE, indicates macOS 12.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 12.0 or later is required to install the app. If 'False', OS X Version 12.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v12_0: Optional[bool] = None - # When TRUE, indicates macOS 13.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 13.0 or later is required to install the app. If 'False', OS X Version 13.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v13_0: Optional[bool] = None - # When TRUE, indicates macOS 14.0 or later is required to install the app. When FALSE, indicates some other OS version is the minimum OS to install the app. Default value is FALSE. + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 14.0 or later is required to install the app. If 'False', OS X Version 14.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. v14_0: Optional[bool] = None + # Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 15.0 or later is required to install the app. If 'False', OS X Version 15.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. + v15_0: Optional[bool] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> MacOSMinimumOperatingSystem: @@ -75,6 +77,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: "v12_0": lambda n : setattr(self, 'v12_0', n.get_bool_value()), "v13_0": lambda n : setattr(self, 'v13_0', n.get_bool_value()), "v14_0": lambda n : setattr(self, 'v14_0', n.get_bool_value()), + "v15_0": lambda n : setattr(self, 'v15_0', n.get_bool_value()), } return fields @@ -100,6 +103,7 @@ def serialize(self,writer: SerializationWriter) -> None: writer.write_bool_value("v12_0", self.v12_0) writer.write_bool_value("v13_0", self.v13_0) writer.write_bool_value("v14_0", self.v14_0) + writer.write_bool_value("v15_0", self.v15_0) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph_beta/generated/models/meeting_note.py b/msgraph_beta/generated/models/meeting_note.py index 6e990996e01..3cab07df4ba 100644 --- a/msgraph_beta/generated/models/meeting_note.py +++ b/msgraph_beta/generated/models/meeting_note.py @@ -17,11 +17,11 @@ class MeetingNote(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The subpoints property + # A collection of subpoints of the meeting note. subpoints: Optional[list[MeetingNoteSubpoint]] = None - # The text property + # The text of the meeting note. text: Optional[str] = None - # The title property + # The title of the meeting note. title: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/meeting_note_subpoint.py b/msgraph_beta/generated/models/meeting_note_subpoint.py index 799893b106d..428c724ecec 100644 --- a/msgraph_beta/generated/models/meeting_note_subpoint.py +++ b/msgraph_beta/generated/models/meeting_note_subpoint.py @@ -14,9 +14,9 @@ class MeetingNoteSubpoint(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The text property + # The text of the meeting note subpoint. text: Optional[str] = None - # The title property + # The title of the meeting note subpoint. title: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/mention_event.py b/msgraph_beta/generated/models/mention_event.py index d29766c8a41..ff829fbfa8a 100644 --- a/msgraph_beta/generated/models/mention_event.py +++ b/msgraph_beta/generated/models/mention_event.py @@ -16,13 +16,13 @@ class MentionEvent(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The eventDateTime property + # The date and time of the mention event. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. event_date_time: Optional[datetime.datetime] = None # The OdataType property odata_type: Optional[str] = None - # The speaker property + # The speaker who mentioned the user. speaker: Optional[IdentitySet] = None - # The transcriptUtterance property + # The utterance in the online meeting transcript that contains the mention event. transcript_utterance: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py b/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py index ec9900ae5a7..cb895e3642b 100644 --- a/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py +++ b/msgraph_beta/generated/models/mobile_app_troubleshooting_event.py @@ -16,7 +16,7 @@ class MobileAppTroubleshootingEvent(DeviceManagementTroubleshootingEvent, Parsab """ Event representing a users device application install status. """ - # Indicates collection of App Log Upload Request. + # The collection property of AppLogUploadRequest. app_log_collection_requests: Optional[list[AppLogCollectionRequest]] = None # Intune application identifier. application_id: Optional[str] = None diff --git a/msgraph_beta/generated/models/mobile_threat_defense_connector.py b/msgraph_beta/generated/models/mobile_threat_defense_connector.py index 7b444d95836..112943c23ba 100644 --- a/msgraph_beta/generated/models/mobile_threat_defense_connector.py +++ b/msgraph_beta/generated/models/mobile_threat_defense_connector.py @@ -20,6 +20,10 @@ class MobileThreatDefenseConnector(Entity, Parsable): allow_partner_to_collect_i_o_s_application_metadata: Optional[bool] = None # When TRUE, indicates the Mobile Threat Defense partner may collect metadata about personally installed applications from Intune for iOS devices. When FALSE, indicates the Mobile Threat Defense partner may not collect metadata about personally installed applications from Intune for iOS devices. Default value is FALSE. allow_partner_to_collect_i_o_s_personal_application_metadata: Optional[bool] = None + # When TRUE, allows the Mobile Threat Defense partner to request a list of installed certificates on iOS/iPadOS devices from Intune to use for threat analysis. This list of installed certificates will be sent from enrolled iOS/iPadOS devices and will include unmanaged certificates (certificates not deployed through Intune). When FALSE, indicates that metadata about installed certificates will not be collected. Default value is FALSE. + allow_partner_to_collect_ios_certificate_metadata: Optional[bool] = None + # When TRUE, allows the Mobile Threat Defense partner to request a list of installed certificates on personally owned iOS/iPadOS devices from Intune to use for threat analysis. This list of installed certificates will be sent from enrolled personally owned iOS/iPadOS devices and will include unmanaged certificates (certificates not deployed through Intune). When FALSE, no metadata for installed certificates is sent for personally owned iOS/iPadOS devices. Default value is FALSE. + allow_partner_to_collect_ios_personal_certificate_metadata: Optional[bool] = None # When TRUE, indicates that Intune must receive data from the Mobile Threat Defense partner prior to marking an Android device compliant. When FALSE, indicates that Intune may mark an Android device compliant before receiving data from the Mobile Threat Defense partner. android_device_blocked_on_missing_partner_data: Optional[bool] = None # When TRUE, indicates that data from the Mobile Threat Defense partner will be used during compliance evaluations for Android devices. When FALSE, indicates that data from the Mobile Threat Defense partner will not be used during compliance evaluations for Android devices. Default value is FALSE. @@ -80,6 +84,8 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: fields: dict[str, Callable[[Any], None]] = { "allowPartnerToCollectIOSApplicationMetadata": lambda n : setattr(self, 'allow_partner_to_collect_i_o_s_application_metadata', n.get_bool_value()), "allowPartnerToCollectIOSPersonalApplicationMetadata": lambda n : setattr(self, 'allow_partner_to_collect_i_o_s_personal_application_metadata', n.get_bool_value()), + "allowPartnerToCollectIosCertificateMetadata": lambda n : setattr(self, 'allow_partner_to_collect_ios_certificate_metadata', n.get_bool_value()), + "allowPartnerToCollectIosPersonalCertificateMetadata": lambda n : setattr(self, 'allow_partner_to_collect_ios_personal_certificate_metadata', n.get_bool_value()), "androidDeviceBlockedOnMissingPartnerData": lambda n : setattr(self, 'android_device_blocked_on_missing_partner_data', n.get_bool_value()), "androidEnabled": lambda n : setattr(self, 'android_enabled', n.get_bool_value()), "androidMobileApplicationManagementEnabled": lambda n : setattr(self, 'android_mobile_application_management_enabled', n.get_bool_value()), @@ -112,6 +118,8 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) writer.write_bool_value("allowPartnerToCollectIOSApplicationMetadata", self.allow_partner_to_collect_i_o_s_application_metadata) writer.write_bool_value("allowPartnerToCollectIOSPersonalApplicationMetadata", self.allow_partner_to_collect_i_o_s_personal_application_metadata) + writer.write_bool_value("allowPartnerToCollectIosCertificateMetadata", self.allow_partner_to_collect_ios_certificate_metadata) + writer.write_bool_value("allowPartnerToCollectIosPersonalCertificateMetadata", self.allow_partner_to_collect_ios_personal_certificate_metadata) writer.write_bool_value("androidDeviceBlockedOnMissingPartnerData", self.android_device_blocked_on_missing_partner_data) writer.write_bool_value("androidEnabled", self.android_enabled) writer.write_bool_value("androidMobileApplicationManagementEnabled", self.android_mobile_application_management_enabled) diff --git a/msgraph_beta/generated/models/networkaccess/connection.py b/msgraph_beta/generated/models/networkaccess/connection.py index a480a0ed07f..e38331d8f69 100644 --- a/msgraph_beta/generated/models/networkaccess/connection.py +++ b/msgraph_beta/generated/models/networkaccess/connection.py @@ -18,63 +18,63 @@ @dataclass class Connection(Entity, Parsable): - # The agentVersion property + # The version of the client that initiated the connection. agent_version: Optional[str] = None - # The applicationSnapshot property + # appId (or client ID) of the destination Microsoft Entra application. application_snapshot: Optional[ApplicationSnapshot] = None - # The createdDateTime property + # The time the connection was created. created_date_time: Optional[datetime.datetime] = None - # The destinationFqdn property + # The destination FQDN of the connection. destination_fqdn: Optional[str] = None - # The destinationIp property + # The destination IP of the connection. destination_ip: Optional[str] = None - # The destinationPort property + # The destination port of the connection. destination_port: Optional[int] = None - # The deviceCategory property + # The category of the device. The possible values are: client, branch, unknownFutureValue, remoteNetwork. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: remoteNetwork. device_category: Optional[DeviceCategory] = None - # The deviceId property + # The DeviceID. device_id: Optional[str] = None - # The deviceOperatingSystem property + # The device operating system type. device_operating_system: Optional[str] = None - # The deviceOperatingSystemVersion property + # The device operating system version. device_operating_system_version: Optional[str] = None - # The endDateTime property + # The time the connection was terminated. end_date_time: Optional[datetime.datetime] = None - # The initiatingProcessName property + # The process initiating the traffic connection. initiating_process_name: Optional[str] = None - # The lastUpdateDateTime property + # When the connection was last updated. last_update_date_time: Optional[datetime.datetime] = None - # The networkProtocol property + # The network protocol of the connection. The possible values are: ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII, unknownFutureValue. network_protocol: Optional[NetworkingProtocol] = None # The OdataType property odata_type: Optional[str] = None - # The popProcessingRegion property + # The Point-of-Presence processing region of the traffic. pop_processing_region: Optional[str] = None - # The privateAccessDetails property + # Private access details. private_access_details: Optional[PrivateAccessDetails] = None - # The receivedBytes property + # Accumulative bytes received. received_bytes: Optional[int] = None - # The sentBytes property + # Accumulative bytes sent. sent_bytes: Optional[int] = None - # The sourceIp property + # The source IP of the connection. source_ip: Optional[str] = None - # The sourcePort property + # The source port of the connection. source_port: Optional[int] = None - # The status property + # Status of the connection. The possible values are: open, active, closed, unknownFutureValue. status: Optional[ConnectionStatus] = None - # The tenantId property + # The ID of the tenant where the connection was initiated. tenant_id: Optional[str] = None # The trafficType property traffic_type: Optional[TrafficType] = None - # The transactionBlockCount property + # The number of blocked transactions belonging to the connection. transaction_block_count: Optional[int] = None - # The transactionCount property + # The number of transactions belonging to the connection. transaction_count: Optional[int] = None - # The transportProtocol property + # The transport protocol of the connection. The possible values are: ip, icmp, igmp, ggp, ipv4, tcp, pup, udp, idp, ipv6, ipv6RoutingHeader, ipv6FragmentHeader, ipSecEncapsulatingSecurityPayload, ipSecAuthenticationHeader, icmpV6, ipv6NoNextHeader, ipv6DestinationOptions, nd, raw, ipx, spx, spxII, unknownFutureValue. transport_protocol: Optional[NetworkingProtocol] = None - # The userId property + # The user ID. user_id: Optional[str] = None - # The userPrincipalName property + # The principal name of the user. user_principal_name: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/networkaccess/connection_summary.py b/msgraph_beta/generated/models/networkaccess/connection_summary.py index 699939f5c61..7910f106f5e 100644 --- a/msgraph_beta/generated/models/networkaccess/connection_summary.py +++ b/msgraph_beta/generated/models/networkaccess/connection_summary.py @@ -17,7 +17,7 @@ class ConnectionSummary(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The totalCount property + # Total number of connections for the specified traffic type. total_count: Optional[int] = None # The trafficType property traffic_type: Optional[TrafficType] = None diff --git a/msgraph_beta/generated/models/networkaccess/logs.py b/msgraph_beta/generated/models/networkaccess/logs.py index 5682f3c4fda..036629d7d1d 100644 --- a/msgraph_beta/generated/models/networkaccess/logs.py +++ b/msgraph_beta/generated/models/networkaccess/logs.py @@ -14,7 +14,7 @@ @dataclass class Logs(Entity, Parsable): - # The connections property + # An aggregated log entry that contains comprehensive information about network traffic events. connections: Optional[list[Connection]] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/notify_user_action.py b/msgraph_beta/generated/models/notify_user_action.py index 8d2da9b52df..52ceba1c486 100644 --- a/msgraph_beta/generated/models/notify_user_action.py +++ b/msgraph_beta/generated/models/notify_user_action.py @@ -12,15 +12,15 @@ @dataclass class NotifyUserAction(DlpActionInfo, Parsable): - # The actionLastModifiedDateTime property + # Timestamp when the notification action configuration was last modified. action_last_modified_date_time: Optional[datetime.datetime] = None - # The emailText property + # The body text of the email notification sent to users. email_text: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The policyTip property + # The text of the policy tip displayed to the user within the application (For example, Outlook, Word). policy_tip: Optional[str] = None - # The recipients property + # List of email addresses or user identifiers designated to receive the notification email. Can include sender, owner, manager, etc. recipients: Optional[list[str]] = None @staticmethod diff --git a/msgraph_beta/generated/models/online_meeting.py b/msgraph_beta/generated/models/online_meeting.py index 56af7778525..362f5672114 100644 --- a/msgraph_beta/generated/models/online_meeting.py +++ b/msgraph_beta/generated/models/online_meeting.py @@ -22,7 +22,7 @@ class OnlineMeeting(OnlineMeetingBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.onlineMeeting" - # The aiInsights property + # The AI insights generated for an online meeting. Read-only. ai_insights: Optional[list[CallAiInsight]] = None # The content stream of the alternative recording of a Microsoft Teams live event. Read-only. alternative_recording: Optional[bytes] = None diff --git a/msgraph_beta/generated/models/operation_approval_policy_type.py b/msgraph_beta/generated/models/operation_approval_policy_type.py index 2cad6b85384..312fe7efb1b 100644 --- a/msgraph_beta/generated/models/operation_approval_policy_type.py +++ b/msgraph_beta/generated/models/operation_approval_policy_type.py @@ -5,8 +5,10 @@ class OperationApprovalPolicyType(str, Enum): Unknown = "unknown", # Indicates that the configured policy type is an application type, such as mobile apps or built-in apps. App = "app", - # Indicates that the configured policy type is a script type, such as Powershell scripts or remediation scripts. + # Indicates that the configured policy type is a script type, such as PowerShell scripts or remediation scripts. Script = "script", + # Indicates that the configured policy type type is for Intune roles, such as application administrator or a custom role. + Role = "role", # Evolvable enumeration sentinel value. Do not use. UnknownFutureValue = "unknownFutureValue", diff --git a/msgraph_beta/generated/models/password_credential_configuration.py b/msgraph_beta/generated/models/password_credential_configuration.py index ffbe6b6619c..6017f6fcfad 100644 --- a/msgraph_beta/generated/models/password_credential_configuration.py +++ b/msgraph_beta/generated/models/password_credential_configuration.py @@ -18,7 +18,7 @@ class PasswordCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsabl # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The excludeActors property + # Collection of custom security attribute exemptions. If an actor user or service principal has the custom security attribute defined in this section, they're exempted from the restriction. This means that calls the user or service principal makes to create or update apps are exempt from this policy enforcement. exclude_actors: Optional[AppManagementPolicyActorExemptions] = None # String value that indicates the maximum lifetime for password expiration, defined as an ISO 8601 duration. For example, P4DT12H30M5S represents four days, 12 hours, 30 minutes, and five seconds. This property is required when restrictionType is set to passwordLifetime. max_lifetime: Optional[datetime.timedelta] = None diff --git a/msgraph_beta/generated/models/policy_location.py b/msgraph_beta/generated/models/policy_location.py index bff2ed75195..3f2e62a1960 100644 --- a/msgraph_beta/generated/models/policy_location.py +++ b/msgraph_beta/generated/models/policy_location.py @@ -19,7 +19,7 @@ class PolicyLocation(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The value property + # The actual value representing the location (for example, 'contoso.com', 'https://partner.contoso.com/upload', '83ef198a-0396-4893-9d4f-d36efbffcaaa'). value: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/process_content_batch_request.py b/msgraph_beta/generated/models/process_content_batch_request.py index 10eabde69b2..2a0bb442c22 100644 --- a/msgraph_beta/generated/models/process_content_batch_request.py +++ b/msgraph_beta/generated/models/process_content_batch_request.py @@ -19,9 +19,9 @@ class ProcessContentBatchRequest(AdditionalDataHolder, BackedModel, Parsable): content_to_process: Optional[ProcessContentRequest] = None # The OdataType property odata_type: Optional[str] = None - # The requestId property + # A unique identifier provided by the client to correlate this specific request item within the batch. request_id: Optional[str] = None - # The userId property + # The unique identifier (Object ID or UPN) of the user in whose context the content should be processed. user_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/process_content_metadata_base.py b/msgraph_beta/generated/models/process_content_metadata_base.py index 9aa10dc6667..300ebed136a 100644 --- a/msgraph_beta/generated/models/process_content_metadata_base.py +++ b/msgraph_beta/generated/models/process_content_metadata_base.py @@ -18,25 +18,25 @@ class ProcessContentMetadataBase(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # The content property + # Represents the actual content, either as text (textContent) or binary data (binaryContent). Optional if metadata alone is sufficient for policy evaluation. Do not use for contentActivities. content: Optional[ContentBase] = None - # The correlationId property + # An GUID identifier used to group multiple related content entries (for example, different parts of the same file upload, messages in a conversation). correlation_id: Optional[str] = None - # The createdDateTime property + # Required. Timestamp indicating when the original content was created (for example, file creation time, message sent time). created_date_time: Optional[datetime.datetime] = None - # The identifier property + # Required. A unique identifier for this specific content entry within the context of the calling application or enforcement plane (for example, message ID, file path/URL). identifier: Optional[str] = None - # The isTruncated property + # Required. Indicates if the provided content has been truncated from its original form (for example, due to size limits). is_truncated: Optional[bool] = None - # The length property + # The length of the original content in bytes. length: Optional[int] = None - # The modifiedDateTime property + # Required. Timestamp indicating when the original content was last modified. For ephemeral content like messages, this might be the same as createdDateTime. modified_date_time: Optional[datetime.datetime] = None - # The name property + # Required. A descriptive name for the content (for example, file name, web page title, 'Chat Message'). name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # The sequenceNumber property + # A sequence number indicating the order in which content was generated or should be processed, required when correlationId is used. sequence_number: Optional[int] = None @staticmethod diff --git a/msgraph_beta/generated/models/process_content_request.py b/msgraph_beta/generated/models/process_content_request.py index 9f3620b4952..1fb5777e37c 100644 --- a/msgraph_beta/generated/models/process_content_request.py +++ b/msgraph_beta/generated/models/process_content_request.py @@ -20,7 +20,7 @@ class ProcessContentRequest(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The activityMetadata property activity_metadata: Optional[ActivityMetadata] = None - # The contentEntries property + # A collection of content entries to be processed. Each entry contains the content itself and its metadata. Required. content_entries: Optional[list[ProcessContentMetadataBase]] = None # The integratedAppMetadata property integrated_app_metadata: Optional[IntegratedApplicationMetadata] = None diff --git a/msgraph_beta/generated/models/process_content_response.py b/msgraph_beta/generated/models/process_content_response.py index 61e1f1672be..bab8bf0d9fb 100644 --- a/msgraph_beta/generated/models/process_content_response.py +++ b/msgraph_beta/generated/models/process_content_response.py @@ -19,9 +19,9 @@ class ProcessContentResponse(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The policyActions property + # A collection of policy actions (like DLP actions) triggered by the processed content. policy_actions: Optional[list[DlpActionInfo]] = None - # The processingErrors property + # A collection of errors encountered during the content processing. processing_errors: Optional[list[ProcessingError]] = None # The protectionScopeState property protection_scope_state: Optional[ProtectionScopeState] = None diff --git a/msgraph_beta/generated/models/process_content_responses.py b/msgraph_beta/generated/models/process_content_responses.py index f15e043b8c2..1294af652bf 100644 --- a/msgraph_beta/generated/models/process_content_responses.py +++ b/msgraph_beta/generated/models/process_content_responses.py @@ -17,7 +17,7 @@ class ProcessContentResponses(AdditionalDataHolder, BackedModel, Parsable): additional_data: dict[str, Any] = field(default_factory=dict) # The OdataType property odata_type: Optional[str] = None - # The requestId property + # The unique identifier that matches the requestId provided in the corresponding processContentBatchRequest. request_id: Optional[str] = None # The results property results: Optional[ProcessContentResponse] = None diff --git a/msgraph_beta/generated/models/process_conversation_metadata.py b/msgraph_beta/generated/models/process_conversation_metadata.py index 5766a59bc0a..3da9912b98b 100644 --- a/msgraph_beta/generated/models/process_conversation_metadata.py +++ b/msgraph_beta/generated/models/process_conversation_metadata.py @@ -14,11 +14,11 @@ class ProcessConversationMetadata(ProcessContentMetadataBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.processConversationMetadata" - # The accessedResources property + # List of resources (for example, file URLs, web URLs) accessed during the generation of this message (relevant for bot interactions). accessed_resources: Optional[list[str]] = None - # The parentMessageId property + # Identifier of the parent message in a threaded conversation, if applicable. parent_message_id: Optional[str] = None - # The plugins property + # List of plugins used during the generation of this message (relevant for AI/bot interactions). plugins: Optional[list[AiInteractionPlugin]] = None @staticmethod diff --git a/msgraph_beta/generated/models/process_file_metadata.py b/msgraph_beta/generated/models/process_file_metadata.py index 13691c1cb60..98e6b25522b 100644 --- a/msgraph_beta/generated/models/process_file_metadata.py +++ b/msgraph_beta/generated/models/process_file_metadata.py @@ -14,9 +14,9 @@ class ProcessFileMetadata(ProcessContentMetadataBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.processFileMetadata" - # The customProperties property + # A dictionary containing custom metadata associated with the file, potentially extracted by the calling application. custom_properties: Optional[CustomMetadataDictionary] = None - # The ownerId property + # The unique identifier (for example, Object ID or UPN) of the owner of the file. owner_id: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/protected_application_metadata.py b/msgraph_beta/generated/models/protected_application_metadata.py index 2fcc77f670f..069ac9f14f9 100644 --- a/msgraph_beta/generated/models/protected_application_metadata.py +++ b/msgraph_beta/generated/models/protected_application_metadata.py @@ -14,7 +14,7 @@ class ProtectedApplicationMetadata(IntegratedApplicationMetadata, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.protectedApplicationMetadata" - # The applicationLocation property + # For internal use only. Don't use. application_location: Optional[PolicyLocation] = None @staticmethod diff --git a/msgraph_beta/generated/models/report.py b/msgraph_beta/generated/models/report.py index 4bca42797c2..241030e3fab 100644 --- a/msgraph_beta/generated/models/report.py +++ b/msgraph_beta/generated/models/report.py @@ -15,7 +15,7 @@ class Report(AdditionalDataHolder, BackedModel, Parsable): # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. additional_data: dict[str, Any] = field(default_factory=dict) - # Report content; details vary by report type. + # The http content that has the data content: Optional[bytes] = None # The OdataType property odata_type: Optional[str] = None diff --git a/msgraph_beta/generated/models/role_assignment.py b/msgraph_beta/generated/models/role_assignment.py index 330703eba86..0cdb57051c9 100644 --- a/msgraph_beta/generated/models/role_assignment.py +++ b/msgraph_beta/generated/models/role_assignment.py @@ -17,17 +17,17 @@ class RoleAssignment(Entity, Parsable): """ The Role Assignment resource. Role assignments tie together a role definition with members and scopes. There can be one or more role assignments per role. This applies to custom and built-in roles. """ - # Description of the Role Assignment. + # Indicates the description of the role assignment. For example: 'All administrators, employees and scope tags associated with the Houston office.' Max length is 1024 characters. description: Optional[str] = None - # The display or friendly name of the role Assignment. + # Indicates the display name of the role assignment. For example: 'Houston administrators and users'. Max length is 128 characters. display_name: Optional[str] = None # The OdataType property odata_type: Optional[str] = None - # List of ids of role scope member security groups. These are IDs from Azure Active Directory. + # Indicates the list of resource scope security group Entra IDs. For example: {dec942f4-6777-4998-96b4-522e383b08e2}. resource_scopes: Optional[list[str]] = None - # Role definition this assignment is part of. + # Indicates the role definition for this role assignment. role_definition: Optional[RoleDefinition] = None - # List of ids of role scope member security groups. These are IDs from Azure Active Directory. + # Indicates the list of role scope member security groups Entra IDs. For example, {dec942f4-6777-4998-96b4-522e383b08e2}. scope_members: Optional[list[str]] = None # Specifies the type of scope for a Role Assignment. scope_type: Optional[RoleAssignmentScopeType] = None diff --git a/msgraph_beta/generated/models/sign_in.py b/msgraph_beta/generated/models/sign_in.py index 4d5dafffc9e..697ec1b2097 100644 --- a/msgraph_beta/generated/models/sign_in.py +++ b/msgraph_beta/generated/models/sign_in.py @@ -6,6 +6,7 @@ from typing import Any, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: + from .agentic.agent_sign_in import AgentSignIn from .applied_authentication_event_listener import AppliedAuthenticationEventListener from .applied_conditional_access_policy import AppliedConditionalAccessPolicy from .authentication_app_device_details import AuthenticationAppDeviceDetails @@ -42,6 +43,8 @@ @dataclass class SignIn(Entity, Parsable): + # The agent property + agent: Optional[AgentSignIn] = None # The application name displayed in the Microsoft Entra admin center. Supports $filter (eq, startsWith). app_display_name: Optional[str] = None # The application identifier in Microsoft Entra ID. Supports $filter (eq). @@ -209,6 +212,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: The deserialization information for the current model Returns: dict[str, Callable[[ParseNode], None]] """ + from .agentic.agent_sign_in import AgentSignIn from .applied_authentication_event_listener import AppliedAuthenticationEventListener from .applied_conditional_access_policy import AppliedConditionalAccessPolicy from .authentication_app_device_details import AuthenticationAppDeviceDetails @@ -241,6 +245,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .token_protection_status import TokenProtectionStatus from .token_protection_status_details import TokenProtectionStatusDetails + from .agentic.agent_sign_in import AgentSignIn from .applied_authentication_event_listener import AppliedAuthenticationEventListener from .applied_conditional_access_policy import AppliedConditionalAccessPolicy from .authentication_app_device_details import AuthenticationAppDeviceDetails @@ -274,6 +279,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .token_protection_status_details import TokenProtectionStatusDetails fields: dict[str, Callable[[Any], None]] = { + "agent": lambda n : setattr(self, 'agent', n.get_object_value(AgentSignIn)), "appDisplayName": lambda n : setattr(self, 'app_display_name', n.get_str_value()), "appId": lambda n : setattr(self, 'app_id', n.get_str_value()), "appOwnerTenantId": lambda n : setattr(self, 'app_owner_tenant_id', n.get_str_value()), @@ -362,6 +368,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_object_value("agent", self.agent) writer.write_str_value("appDisplayName", self.app_display_name) writer.write_str_value("appId", self.app_id) writer.write_str_value("appOwnerTenantId", self.app_owner_tenant_id) diff --git a/msgraph_beta/generated/models/text_content.py b/msgraph_beta/generated/models/text_content.py index c11fdb2956e..ca077fd43fc 100644 --- a/msgraph_beta/generated/models/text_content.py +++ b/msgraph_beta/generated/models/text_content.py @@ -13,7 +13,7 @@ class TextContent(ContentBase, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.textContent" - # The data property + # The text content data. Inherits properties from contentBase. data: Optional[str] = None @staticmethod diff --git a/msgraph_beta/generated/models/user.py b/msgraph_beta/generated/models/user.py index 465159538f1..b195fc2ad04 100644 --- a/msgraph_beta/generated/models/user.py +++ b/msgraph_beta/generated/models/user.py @@ -164,7 +164,7 @@ class User(DirectoryObject, Parsable): creation_type: Optional[str] = None # An open complex type that holds the value of a custom security attribute that is assigned to a directory object. Nullable. Returned only on $select. Supports $filter (eq, ne, not, startsWith). The filter value is case-sensitive. To read this property, the calling app must be assigned the CustomSecAttributeAssignment.Read.All permission. To write this property, the calling app must be assigned the CustomSecAttributeAssignment.ReadWrite.All permissions. To read or write this property in delegated scenarios, the admin must be assigned the Attribute Assignment Administrator role. Supports $filter (eq, ne, not , ge, le, in). custom_security_attributes: Optional[CustomSecurityAttributeValue] = None - # The dataSecurityAndGovernance property + # The data security and governance settings for the user. Read-only. Nullable. data_security_and_governance: Optional[UserDataSecurityAndGovernance] = None # The name of the department where the user works. Maximum length is 64 characters.Supports $filter (eq, ne, not , ge, le, in, and eq on null values). department: Optional[str] = None diff --git a/msgraph_beta/generated/models/user_data_security_and_governance.py b/msgraph_beta/generated/models/user_data_security_and_governance.py index 1b023a5039e..c7400f398f5 100644 --- a/msgraph_beta/generated/models/user_data_security_and_governance.py +++ b/msgraph_beta/generated/models/user_data_security_and_governance.py @@ -15,7 +15,7 @@ class UserDataSecurityAndGovernance(DataSecurityAndGovernance, Parsable): # The OdataType property odata_type: Optional[str] = "#microsoft.graph.userDataSecurityAndGovernance" - # The activities property + # Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. activities: Optional[ActivitiesContainer] = None # The protectionScopes property protection_scopes: Optional[UserProtectionScopeContainer] = None diff --git a/msgraph_beta/generated/models/win32_lob_app.py b/msgraph_beta/generated/models/win32_lob_app.py index ff7f0417789..f223e7e7895 100644 --- a/msgraph_beta/generated/models/win32_lob_app.py +++ b/msgraph_beta/generated/models/win32_lob_app.py @@ -27,6 +27,8 @@ class Win32LobApp(MobileLobApp, Parsable): odata_type: Optional[str] = "#microsoft.graph.win32LobApp" # Indicates whether the uninstall is supported from the company portal for the Win32 app with an available assignment. When TRUE, indicates that uninstall is supported from the company portal for the Windows app (Win32) with an available assignment. When FALSE, indicates that uninstall is not supported for the Windows app (Win32) with an Available assignment. Default value is FALSE. allow_available_uninstall: Optional[bool] = None + # Indicates the Windows architecture(s) this app should be installed on. The app will be treated as not applicable for devices with architectures not matching the selected value. When a non-null value is provided for the allowedArchitectures property, the value of the applicableArchitectures property is set to none. Possible values are: null, x86, x64, arm64. Possible values are: none, x86, x64, arm, neutral, arm64. + allowed_architectures: Optional[WindowsArchitecture] = None # Contains properties for Windows architecture. applicable_architectures: Optional[WindowsArchitecture] = None # Indicates the detection rules to detect Win32 Line of Business (LoB) app. Possible values are Win32LobAppPowerShellScriptDetection, Win32LobAppRegistryDetection, Win32LobAppFileSystemDetection, Win32LobAppProductCodeDetection. @@ -111,6 +113,7 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: fields: dict[str, Callable[[Any], None]] = { "allowAvailableUninstall": lambda n : setattr(self, 'allow_available_uninstall', n.get_bool_value()), + "allowedArchitectures": lambda n : setattr(self, 'allowed_architectures', n.get_collection_of_enum_values(WindowsArchitecture)), "applicableArchitectures": lambda n : setattr(self, 'applicable_architectures', n.get_collection_of_enum_values(WindowsArchitecture)), "detectionRules": lambda n : setattr(self, 'detection_rules', n.get_collection_of_object_values(Win32LobAppDetection)), "displayVersion": lambda n : setattr(self, 'display_version', n.get_str_value()), @@ -143,6 +146,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_bool_value("allowAvailableUninstall", self.allow_available_uninstall) + writer.write_enum_value("allowedArchitectures", self.allowed_architectures) writer.write_enum_value("applicableArchitectures", self.applicable_architectures) writer.write_collection_of_object_values("detectionRules", self.detection_rules) writer.write_str_value("displayVersion", self.display_version) diff --git a/msgraph_beta/generated/models/windows_domain_join_configuration.py b/msgraph_beta/generated/models/windows_domain_join_configuration.py index c01eaf7ff77..343a52ff9c0 100644 --- a/msgraph_beta/generated/models/windows_domain_join_configuration.py +++ b/msgraph_beta/generated/models/windows_domain_join_configuration.py @@ -22,7 +22,7 @@ class WindowsDomainJoinConfiguration(DeviceConfiguration, Parsable): computer_name_static_prefix: Optional[str] = None # Dynamically generated characters used as suffix for computer name. Valid values 3 to 14 computer_name_suffix_random_char_count: Optional[int] = None - # Reference to device configurations required for network connectivity + # Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. network_access_configurations: Optional[list[DeviceConfiguration]] = None # Organizational unit (OU) where the computer account will be created. If this parameter is NULL, the well known computer object container will be used as published in the domain. organizational_unit: Optional[str] = None diff --git a/msgraph_beta/generated/models/windows_quality_update_approval_setting.py b/msgraph_beta/generated/models/windows_quality_update_approval_setting.py new file mode 100644 index 00000000000..48f4ee0e23e --- /dev/null +++ b/msgraph_beta/generated/models/windows_quality_update_approval_setting.py @@ -0,0 +1,82 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .windows_quality_update_cadence import WindowsQualityUpdateCadence + from .windows_quality_update_category import WindowsQualityUpdateCategory + from .windows_quality_update_policy_approval_method_type import WindowsQualityUpdatePolicyApprovalMethodType + +@dataclass +class WindowsQualityUpdateApprovalSetting(AdditionalDataHolder, BackedModel, Parsable): + """ + Entity to record approval settings for windows quality update policies + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # Enum type to describe the approval type for different type of quality updates. + approval_method_type: Optional[WindowsQualityUpdatePolicyApprovalMethodType] = None + # The deferral days for auto approval type, not applicable for manual approve + deferred_deployment_in_day: Optional[int] = None + # The OdataType property + odata_type: Optional[str] = None + # The publishing cadence of the quality update. Possible values are: monthly, outOfBand. This property cannot be modified and is automatically populated when the catalog is created. + windows_quality_update_cadence: Optional[WindowsQualityUpdateCadence] = None + # Windows quality update category + windows_quality_update_category: Optional[WindowsQualityUpdateCategory] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WindowsQualityUpdateApprovalSetting: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WindowsQualityUpdateApprovalSetting + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return WindowsQualityUpdateApprovalSetting() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .windows_quality_update_cadence import WindowsQualityUpdateCadence + from .windows_quality_update_category import WindowsQualityUpdateCategory + from .windows_quality_update_policy_approval_method_type import WindowsQualityUpdatePolicyApprovalMethodType + + from .windows_quality_update_cadence import WindowsQualityUpdateCadence + from .windows_quality_update_category import WindowsQualityUpdateCategory + from .windows_quality_update_policy_approval_method_type import WindowsQualityUpdatePolicyApprovalMethodType + + fields: dict[str, Callable[[Any], None]] = { + "approvalMethodType": lambda n : setattr(self, 'approval_method_type', n.get_enum_value(WindowsQualityUpdatePolicyApprovalMethodType)), + "deferredDeploymentInDay": lambda n : setattr(self, 'deferred_deployment_in_day', n.get_int_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "windowsQualityUpdateCadence": lambda n : setattr(self, 'windows_quality_update_cadence', n.get_enum_value(WindowsQualityUpdateCadence)), + "windowsQualityUpdateCategory": lambda n : setattr(self, 'windows_quality_update_category', n.get_enum_value(WindowsQualityUpdateCategory)), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_enum_value("approvalMethodType", self.approval_method_type) + writer.write_int_value("deferredDeploymentInDay", self.deferred_deployment_in_day) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("windowsQualityUpdateCadence", self.windows_quality_update_cadence) + writer.write_enum_value("windowsQualityUpdateCategory", self.windows_quality_update_category) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/windows_quality_update_approval_status.py b/msgraph_beta/generated/models/windows_quality_update_approval_status.py new file mode 100644 index 00000000000..67bf68b038a --- /dev/null +++ b/msgraph_beta/generated/models/windows_quality_update_approval_status.py @@ -0,0 +1,12 @@ +from enum import Enum + +class WindowsQualityUpdateApprovalStatus(str, Enum): + # unknown status for corresponding catalog item + Unknown = "unknown", + # approved for corresponding catalog item + Approved = "approved", + # suspended for corresponding catalog item + Suspended = "suspended", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/windows_quality_update_catalog_item_policy_detail.py b/msgraph_beta/generated/models/windows_quality_update_catalog_item_policy_detail.py new file mode 100644 index 00000000000..9f3b56895e4 --- /dev/null +++ b/msgraph_beta/generated/models/windows_quality_update_catalog_item_policy_detail.py @@ -0,0 +1,73 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union +from uuid import UUID + +if TYPE_CHECKING: + from .windows_quality_update_approval_status import WindowsQualityUpdateApprovalStatus + +@dataclass +class WindowsQualityUpdateCatalogItemPolicyDetail(AdditionalDataHolder, BackedModel, Parsable): + """ + Class to describe quality update policy's approval detail for specific catalog item + """ + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # Enum to describe policy's approval status for catalogitems + approval_status: Optional[WindowsQualityUpdateApprovalStatus] = None + # Catalog item id for this approval intend + catalog_item_id: Optional[UUID] = None + # The OdataType property + odata_type: Optional[str] = None + # Policy Id for this approval intend + policy_id: Optional[UUID] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WindowsQualityUpdateCatalogItemPolicyDetail: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WindowsQualityUpdateCatalogItemPolicyDetail + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return WindowsQualityUpdateCatalogItemPolicyDetail() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .windows_quality_update_approval_status import WindowsQualityUpdateApprovalStatus + + from .windows_quality_update_approval_status import WindowsQualityUpdateApprovalStatus + + fields: dict[str, Callable[[Any], None]] = { + "approvalStatus": lambda n : setattr(self, 'approval_status', n.get_enum_value(WindowsQualityUpdateApprovalStatus)), + "catalogItemId": lambda n : setattr(self, 'catalog_item_id', n.get_uuid_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "policyId": lambda n : setattr(self, 'policy_id', n.get_uuid_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_enum_value("approvalStatus", self.approval_status) + writer.write_uuid_value("catalogItemId", self.catalog_item_id) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_uuid_value("policyId", self.policy_id) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/models/windows_quality_update_policy.py b/msgraph_beta/generated/models/windows_quality_update_policy.py index 2050beaf667..20d998300c3 100644 --- a/msgraph_beta/generated/models/windows_quality_update_policy.py +++ b/msgraph_beta/generated/models/windows_quality_update_policy.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .entity import Entity + from .windows_quality_update_approval_setting import WindowsQualityUpdateApprovalSetting from .windows_quality_update_policy_assignment import WindowsQualityUpdatePolicyAssignment from .entity import Entity @@ -16,6 +17,8 @@ class WindowsQualityUpdatePolicy(Entity, Parsable): """ Windows Quality Update Policy """ + # The list of approval settings for this policy. The maximun number of approval settings supported for one policy is 6. The expected number of approval settings for one policy from UX is 4. + approval_settings: Optional[list[WindowsQualityUpdateApprovalSetting]] = None # List of the groups this profile is assgined to. assignments: Optional[list[WindowsQualityUpdatePolicyAssignment]] = None # Timestamp of when the profile was created. The value cannot be modified and is automatically populated when the profile is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. Read-only @@ -50,12 +53,15 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: Returns: dict[str, Callable[[ParseNode], None]] """ from .entity import Entity + from .windows_quality_update_approval_setting import WindowsQualityUpdateApprovalSetting from .windows_quality_update_policy_assignment import WindowsQualityUpdatePolicyAssignment from .entity import Entity + from .windows_quality_update_approval_setting import WindowsQualityUpdateApprovalSetting from .windows_quality_update_policy_assignment import WindowsQualityUpdatePolicyAssignment fields: dict[str, Callable[[Any], None]] = { + "approvalSettings": lambda n : setattr(self, 'approval_settings', n.get_collection_of_object_values(WindowsQualityUpdateApprovalSetting)), "assignments": lambda n : setattr(self, 'assignments', n.get_collection_of_object_values(WindowsQualityUpdatePolicyAssignment)), "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), "description": lambda n : setattr(self, 'description', n.get_str_value()), @@ -77,6 +83,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") super().serialize(writer) + writer.write_collection_of_object_values("approvalSettings", self.approval_settings) writer.write_collection_of_object_values("assignments", self.assignments) writer.write_datetime_value("createdDateTime", self.created_date_time) writer.write_str_value("description", self.description) diff --git a/msgraph_beta/generated/models/windows_quality_update_policy_action_type.py b/msgraph_beta/generated/models/windows_quality_update_policy_action_type.py new file mode 100644 index 00000000000..b7acf570b06 --- /dev/null +++ b/msgraph_beta/generated/models/windows_quality_update_policy_action_type.py @@ -0,0 +1,10 @@ +from enum import Enum + +class WindowsQualityUpdatePolicyActionType(str, Enum): + # Enum value to represent the approval actions for quality update + Approve = "approve", + # Enum value to represent the pause actions for quality update + Suspend = "suspend", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/windows_quality_update_policy_approval_method_type.py b/msgraph_beta/generated/models/windows_quality_update_policy_approval_method_type.py new file mode 100644 index 00000000000..e709e17d081 --- /dev/null +++ b/msgraph_beta/generated/models/windows_quality_update_policy_approval_method_type.py @@ -0,0 +1,10 @@ +from enum import Enum + +class WindowsQualityUpdatePolicyApprovalMethodType(str, Enum): + # The updates need manually approve. + Manual = "manual", + # The updates would be automaticaly approved. + Automatic = "automatic", + # Evolvable enumeration sentinel value. Do not use. + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph_beta/generated/models/windows_restore_device_enrollment_configuration.py b/msgraph_beta/generated/models/windows_restore_device_enrollment_configuration.py new file mode 100644 index 00000000000..e0e4dfc8e57 --- /dev/null +++ b/msgraph_beta/generated/models/windows_restore_device_enrollment_configuration.py @@ -0,0 +1,63 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .enablement import Enablement + +from .device_enrollment_configuration import DeviceEnrollmentConfiguration + +@dataclass +class WindowsRestoreDeviceEnrollmentConfiguration(DeviceEnrollmentConfiguration, Parsable): + """ + Indicates the configuration is of type Windows Restore which refers to the tenant level Windows Backup and Restore settings a user receives during OOBE Windows enrollment + """ + # The OdataType property + odata_type: Optional[str] = "#microsoft.graph.windowsRestoreDeviceEnrollmentConfiguration" + # Possible values of a property + state: Optional[Enablement] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> WindowsRestoreDeviceEnrollmentConfiguration: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: WindowsRestoreDeviceEnrollmentConfiguration + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return WindowsRestoreDeviceEnrollmentConfiguration() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .enablement import Enablement + + from .device_enrollment_configuration import DeviceEnrollmentConfiguration + from .enablement import Enablement + + fields: dict[str, Callable[[Any], None]] = { + "state": lambda n : setattr(self, 'state', n.get_enum_value(Enablement)), + } + super_fields = super().get_field_deserializers() + fields.update(super_fields) + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + super().serialize(writer) + writer.write_enum_value("state", self.state) + + diff --git a/msgraph_beta/generated/models/x509_certificate_authentication_method_configuration.py b/msgraph_beta/generated/models/x509_certificate_authentication_method_configuration.py index 7ce97f984e1..c9478cc3683 100644 --- a/msgraph_beta/generated/models/x509_certificate_authentication_method_configuration.py +++ b/msgraph_beta/generated/models/x509_certificate_authentication_method_configuration.py @@ -8,6 +8,7 @@ from .authentication_method_configuration import AuthenticationMethodConfiguration from .authentication_method_target import AuthenticationMethodTarget from .x509_certificate_authentication_mode_configuration import X509CertificateAuthenticationModeConfiguration + from .x509_certificate_authority_scope import X509CertificateAuthorityScope from .x509_certificate_issuer_hints_configuration import X509CertificateIssuerHintsConfiguration from .x509_certificate_user_binding import X509CertificateUserBinding @@ -19,6 +20,8 @@ class X509CertificateAuthenticationMethodConfiguration(AuthenticationMethodConfi odata_type: Optional[str] = "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration" # Defines strong authentication configurations. This configuration includes the default authentication mode and the different rules for strong authentication bindings. authentication_mode_configuration: Optional[X509CertificateAuthenticationModeConfiguration] = None + # Defines configuration to allow a group of users to use certificates from specific issuing certificate authorities to successfully authenticate. + certificate_authority_scopes: Optional[list[X509CertificateAuthorityScope]] = None # Defines fields in the X.509 certificate that map to attributes of the Microsoft Entra user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored. certificate_user_bindings: Optional[list[X509CertificateUserBinding]] = None # A collection of groups that are enabled to use the authentication method. @@ -45,17 +48,20 @@ def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: from .authentication_method_configuration import AuthenticationMethodConfiguration from .authentication_method_target import AuthenticationMethodTarget from .x509_certificate_authentication_mode_configuration import X509CertificateAuthenticationModeConfiguration + from .x509_certificate_authority_scope import X509CertificateAuthorityScope from .x509_certificate_issuer_hints_configuration import X509CertificateIssuerHintsConfiguration from .x509_certificate_user_binding import X509CertificateUserBinding from .authentication_method_configuration import AuthenticationMethodConfiguration from .authentication_method_target import AuthenticationMethodTarget from .x509_certificate_authentication_mode_configuration import X509CertificateAuthenticationModeConfiguration + from .x509_certificate_authority_scope import X509CertificateAuthorityScope from .x509_certificate_issuer_hints_configuration import X509CertificateIssuerHintsConfiguration from .x509_certificate_user_binding import X509CertificateUserBinding fields: dict[str, Callable[[Any], None]] = { "authenticationModeConfiguration": lambda n : setattr(self, 'authentication_mode_configuration', n.get_object_value(X509CertificateAuthenticationModeConfiguration)), + "certificateAuthorityScopes": lambda n : setattr(self, 'certificate_authority_scopes', n.get_collection_of_object_values(X509CertificateAuthorityScope)), "certificateUserBindings": lambda n : setattr(self, 'certificate_user_bindings', n.get_collection_of_object_values(X509CertificateUserBinding)), "includeTargets": lambda n : setattr(self, 'include_targets', n.get_collection_of_object_values(AuthenticationMethodTarget)), "issuerHintsConfiguration": lambda n : setattr(self, 'issuer_hints_configuration', n.get_object_value(X509CertificateIssuerHintsConfiguration)), @@ -74,6 +80,7 @@ def serialize(self,writer: SerializationWriter) -> None: raise TypeError("writer cannot be null.") super().serialize(writer) writer.write_object_value("authenticationModeConfiguration", self.authentication_mode_configuration) + writer.write_collection_of_object_values("certificateAuthorityScopes", self.certificate_authority_scopes) writer.write_collection_of_object_values("certificateUserBindings", self.certificate_user_bindings) writer.write_collection_of_object_values("includeTargets", self.include_targets) writer.write_object_value("issuerHintsConfiguration", self.issuer_hints_configuration) diff --git a/msgraph_beta/generated/models/x509_certificate_authority_scope.py b/msgraph_beta/generated/models/x509_certificate_authority_scope.py new file mode 100644 index 00000000000..9a8231bf470 --- /dev/null +++ b/msgraph_beta/generated/models/x509_certificate_authority_scope.py @@ -0,0 +1,69 @@ +from __future__ import annotations +from collections.abc import Callable +from dataclasses import dataclass, field +from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter +from kiota_abstractions.store import BackedModel, BackingStore, BackingStoreFactorySingleton +from typing import Any, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .include_target import IncludeTarget + +@dataclass +class X509CertificateAuthorityScope(AdditionalDataHolder, BackedModel, Parsable): + # Stores model information. + backing_store: BackingStore = field(default_factory=BackingStoreFactorySingleton(backing_store_factory=None).backing_store_factory.create_backing_store, repr=False) + + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + additional_data: dict[str, Any] = field(default_factory=dict) + # A collection of groups that are enabled to be in scope to use certificates issued by specific certificate authority. + include_targets: Optional[list[IncludeTarget]] = None + # The OdataType property + odata_type: Optional[str] = None + # Public Key Infrastructure container object under which the certificate authorities are stored in the Entra PKI based trust store. + public_key_infrastructure_identifier: Optional[str] = None + # Subject Key Identifier that identifies the certificate authority uniquely. + subject_key_identifier: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> X509CertificateAuthorityScope: + """ + Creates a new instance of the appropriate class based on discriminator value + param parse_node: The parse node to use to read the discriminator value and create the object + Returns: X509CertificateAuthorityScope + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return X509CertificateAuthorityScope() + + def get_field_deserializers(self,) -> dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: dict[str, Callable[[ParseNode], None]] + """ + from .include_target import IncludeTarget + + from .include_target import IncludeTarget + + fields: dict[str, Callable[[Any], None]] = { + "includeTargets": lambda n : setattr(self, 'include_targets', n.get_collection_of_object_values(IncludeTarget)), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "publicKeyInfrastructureIdentifier": lambda n : setattr(self, 'public_key_infrastructure_identifier', n.get_str_value()), + "subjectKeyIdentifier": lambda n : setattr(self, 'subject_key_identifier', n.get_str_value()), + } + return fields + + def serialize(self,writer: SerializationWriter) -> None: + """ + Serializes information the current object + param writer: Serialization writer to use to serialize this model + Returns: None + """ + if writer is None: + raise TypeError("writer cannot be null.") + writer.write_collection_of_object_values("includeTargets", self.include_targets) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("publicKeyInfrastructureIdentifier", self.public_key_infrastructure_identifier) + writer.write_str_value("subjectKeyIdentifier", self.subject_key_identifier) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph_beta/generated/network_access/logs/connections/connections_request_builder.py b/msgraph_beta/generated/network_access/logs/connections/connections_request_builder.py index 936209101ba..532a9b4b44c 100644 --- a/msgraph_beta/generated/network_access/logs/connections/connections_request_builder.py +++ b/msgraph_beta/generated/network_access/logs/connections/connections_request_builder.py @@ -49,9 +49,10 @@ def by_connection_id(self,connection_id: str) -> ConnectionItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[ConnectionsRequestBuilderGetQueryParameters]] = None) -> Optional[ConnectionCollectionResponse]: """ - Get connections from networkAccess + Get a list of connection objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConnectionCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/networkaccess-logs-list-connections?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +93,7 @@ async def post(self,body: Connection, request_configuration: Optional[RequestCon def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConnectionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get connections from networkAccess + Get a list of connection objects and their properties. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ConnectionsRequestBuilderGetQueryParameters(): """ - Get connections from networkAccess + Get a list of connection objects and their properties. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/network_access/logs/connections/item/connection_item_request_builder.py b/msgraph_beta/generated/network_access/logs/connections/item/connection_item_request_builder.py index b449b73576f..f3531288b54 100644 --- a/msgraph_beta/generated/network_access/logs/connections/item/connection_item_request_builder.py +++ b/msgraph_beta/generated/network_access/logs/connections/item/connection_item_request_builder.py @@ -50,9 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConnectionItemRequestBuilderGetQueryParameters]] = None) -> Optional[Connection]: """ - Get connections from networkAccess + Read the properties and relationships of a connection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Connection] + Find more info here: https://learn.microsoft.com/graph/api/networkaccess-connection-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -103,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConnectionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get connections from networkAccess + Read the properties and relationships of a connection object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +148,7 @@ class ConnectionItemRequestBuilderDeleteRequestConfiguration(RequestConfiguratio @dataclass class ConnectionItemRequestBuilderGetQueryParameters(): """ - Get connections from networkAccess + Read the properties and relationships of a connection object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_connection_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_connection_summaries_with_start_date_time_with_end_date_time_request_builder.py b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_connection_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_connection_summaries_with_start_date_time_with_end_date_time_request_builder.py index 17e71d4617f..ce1146acc38 100644 --- a/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_connection_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_connection_summaries_with_start_date_time_with_end_date_time_request_builder.py +++ b/msgraph_beta/generated/network_access/reports/microsoft_graph_networkaccess_get_connection_summaries_with_start_date_time_with_end_date_time/microsoft_graph_networkaccess_get_connection_summaries_with_start_date_time_with_end_date_time_request_builder.py @@ -38,9 +38,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def get(self,request_configuration: Optional[RequestConfiguration[MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters]] = None) -> Optional[GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse]: """ - Invoke function getConnectionSummaries + An API part of Global Secure Access (GSA) product, reports of connections count per traffic type: Private/Internet/Microsoft. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[GetConnectionSummariesWithStartDateTimeWithEndDateTimeGetResponse] + Find more info here: https://learn.microsoft.com/graph/api/networkaccess-reports-getconnectionsummaries?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -58,7 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Microsof def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Invoke function getConnectionSummaries + An API part of Global Secure Access (GSA) product, reports of connections count per traffic type: Private/Internet/Microsoft. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -80,7 +81,7 @@ def with_url(self,raw_url: str) -> MicrosoftGraphNetworkaccessGetConnectionSumma @dataclass class MicrosoftGraphNetworkaccessGetConnectionSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters(): """ - Invoke function getConnectionSummaries + An API part of Global Secure Access (GSA) product, reports of connections count per traffic type: Private/Internet/Microsoft. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py index 0067e8dc262..670d5654682 100644 --- a/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +++ b/msgraph_beta/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]: """ - Create a cross-tenant user synchronization policy for a partner-specific configuration. + Update the user synchronization policy of a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CrossTenantIdentitySyncPolicyPartner] - Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/crosstenantidentitysyncpolicypartner-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_put_request_information(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a cross-tenant user synchronization policy for a partner-specific configuration. + Update the user synchronization policy of a partner-specific configuration. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py b/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py index 4bb8b5f8104..360e5c59e2d 100644 --- a/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py +++ b/msgraph_beta/generated/policies/federated_token_validation_policy/federated_token_validation_policy_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[FederatedTokenValidationPolicyRequestBuilderGetQueryParameters]] = None) -> Optional[FederatedTokenValidationPolicy]: """ - Get a list of the federatedTokenValidationPolicy objects and their properties. + Read the properties and relationships of a federatedTokenValidationPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[FederatedTokenValidationPolicy] - Find more info here: https://learn.microsoft.com/graph/api/policyroot-list-federatedtokenvalidationpolicy?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/federatedtokenvalidationpolicy-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -105,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[FederatedTokenValidationPolicyRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get a list of the federatedTokenValidationPolicy objects and their properties. + Read the properties and relationships of a federatedTokenValidationPolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration(Req @dataclass class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters(): """ - Get a list of the federatedTokenValidationPolicy objects and their properties. + Read the properties and relationships of a federatedTokenValidationPolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/cloud_p_c_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/cloud_p_c_request_builder.py index 9273182f7e7..2e37a0d3b5e 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/cloud_p_c_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/cloud_p_c_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CloudPCR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplicationMultiple] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: RbacApplicationMultiple, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplicationMultiple] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: RbacApplicationMultiple, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CloudPCRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CloudPCRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CloudPCRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/count/count_request_builder.py index bf24dc5b531..13a50d1431d 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index a5e2cbc732b..94ea5e0af33 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ImportResourceActionsPostRequestBody, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -61,6 +62,7 @@ def to_post_request_information(self,body: ImportResourceActionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,6 +77,7 @@ def with_url(self,raw_url: str) -> ImportResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ImportResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ImportResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/count/count_request_builder.py index 57e87302c80..b0a1b403625 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index 0fa1d3e47a7..3db648acae3 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationContextClassReference] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AuthenticationContextRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthenticationContextRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationContextRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index 72bb6e5dbd4..60ea4871b4c 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: UnifiedRbacResourceScope, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceScope, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> ResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index ef1155fb4cf..a807dec53d9 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceAction, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceAction, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceActionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceActionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index 455bcc9fd4d..9c1a82feb48 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str param unified_rbac_resource_action_id: The unique identifier of unifiedRbacResourceAction Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_action_id is None: raise TypeError("unified_rbac_resource_action_id cannot be null.") from .item.unified_rbac_resource_action_item_request_builder import UnifiedRbacResourceActionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceAction, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceAction, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index 45983d690ff..83a140f5229 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceNamespace, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceNamespace, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceNamespaceItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceNamespaceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/resource_namespaces_request_builder.py index bff58a62d5f..5c3a37226a2 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/resource_namespaces/resource_namespaces_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_namespace_id(self,unified_rbac_resource_namespace_i param unified_rbac_resource_namespace_id: The unique identifier of unifiedRbacResourceNamespace Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_namespace_id is None: raise TypeError("unified_rbac_resource_namespace_id cannot be null.") from .item.unified_rbac_resource_namespace_item_request_builder import UnifiedRbacResourceNamespaceItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespaceCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceNamespace, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceNamespace, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceNamespacesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceNamespacesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceNamespacesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/count/count_request_builder.py index b8d93ca2fa9..3a5334bc693 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/app_scopes_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/app_scopes_request_builder.py index ca2a5feaefb..b01c01b5375 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/app_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/app_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_app_scope_id(self,app_scope_id: str) -> AppScopeItemRequestBuilder: param app_scope_id: The unique identifier of appScope Returns: AppScopeItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if app_scope_id is None: raise TypeError("app_scope_id cannot be null.") from .item.app_scope_item_request_builder import AppScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScopeCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AppScope, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AppScope, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AppScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/count/count_request_builder.py index 212fd9b530a..596eec178db 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py index 36cca5e93ee..8575ec5a019 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AppScope, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: AppScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> AppScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/count/count_request_builder.py index 5b6c23dbb54..d10a7bab17a 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/directory_scopes_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/directory_scopes_request_builder.py index e4b852d0c19..67229b2b71b 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/directory_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/directory_scopes_request_builder.py @@ -38,6 +38,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> DirectoryScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py index 73b35c8b60c..c93128b44f0 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/count/count_request_builder.py index cf63bc29f44..5829fb4ce6a 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/item/directory_object_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/item/directory_object_item_request_builder.py index cd493011dc6..275cec346f4 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/item/directory_object_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/principals_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/principals_request_builder.py index 12170947b5e..8ffed62c75a 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/principals_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/principals/principals_request_builder.py @@ -38,6 +38,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> PrincipalsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/role_definition/role_definition_request_builder.py index ba7f35b739f..a1f8bbb3ac0 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py index 2a85d8e4f6e..334f7bd0c43 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-delete?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRoleAssignmentMultiple] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -82,6 +84,7 @@ async def patch(self,body: UnifiedRoleAssignmentMultiple, request_configuration: Returns: Optional[UnifiedRoleAssignmentMultiple] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-update?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,6 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentMultiple, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentMultipleItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentMultipleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentMultipleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py index 0d517212661..59ac3b3ae00 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_assignments/role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_assignment_multiple_id(self,unified_role_assignment_multiple param unified_role_assignment_multiple_id: The unique identifier of unifiedRoleAssignmentMultiple Returns: UnifiedRoleAssignmentMultipleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_multiple_id is None: raise TypeError("unified_role_assignment_multiple_id cannot be null.") from .item.unified_role_assignment_multiple_item_request_builder import UnifiedRoleAssignmentMultipleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultipleCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: UnifiedRoleAssignmentMultiple, request_configuration: Returns: Optional[UnifiedRoleAssignmentMultiple] Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-post-roleassignments?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentMultiple, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/count/count_request_builder.py index 67016143b7d..b4cd9e55088 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 114214a3875..3f3fb98aa64 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index 9b6aa50d7fe..fb2968c500f 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index 62d091b4dc8..97009c9aa29 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id1(self,unified_role_definition_id1: str) -> Uni param unified_role_definition_id1: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id1 is None: raise TypeError("unified_role_definition_id1 cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Inherits param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InheritsPermissionsFromRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InheritsPermissionsFromRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InheritsPermissionsFromRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 14b5298b7b7..4296919060b 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index e1bde9e8f81..6a3c344b05c 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/unified_role_definition_item_request_builder.py index 63d4a95c4c9..0e6029ee80d 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/item/unified_role_definition_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-delete?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,11 +54,12 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> Optional[UnifiedRoleDefinition]: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-update?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,16 +105,18 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) @@ -170,7 +177,7 @@ class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/role_definitions_request_builder.py index 33d520dd29b..f281275f870 100644 --- a/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/cloud_p_c/role_definitions/role_definitions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi param unified_role_definition_id: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id is None: raise TypeError("unified_role_definition_id cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi Returns: Optional[UnifiedRoleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-post-roledefinitions?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/defender_request_builder.py b/msgraph_beta/generated/role_management/defender/defender_request_builder.py index 674d0ef7ac2..9743a97c731 100644 --- a/msgraph_beta/generated/role_management/defender/defender_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/defender_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Defender param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplicationMultiple] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: RbacApplicationMultiple, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplicationMultiple] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: RbacApplicationMultiple, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> DefenderRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DefenderRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DefenderRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/resource_namespaces/count/count_request_builder.py index c373d6d22e5..09abe28ebdb 100644 --- a/msgraph_beta/generated/role_management/defender/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/resource_namespaces/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index 2be4a611a57..7bbd58740d0 100644 --- a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ImportResourceActionsPostRequestBody, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -61,6 +62,7 @@ def to_post_request_information(self,body: ImportResourceActionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,6 +77,7 @@ def with_url(self,raw_url: str) -> ImportResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ImportResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ImportResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/count/count_request_builder.py index 155cc7da86a..2e1f3c9689e 100644 --- a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index 33e7c162eb3..c800756b4fb 100644 --- a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationContextClassReference] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AuthenticationContextRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthenticationContextRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationContextRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index dbfdffc29bb..b7a37ad8d4e 100644 --- a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: UnifiedRbacResourceScope, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceScope, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> ResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index 30d51a71e84..0ed318a97ba 100644 --- a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceAction, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceAction, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceActionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceActionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index 778843f2e2c..ff6c8ee839d 100644 --- a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str param unified_rbac_resource_action_id: The unique identifier of unifiedRbacResourceAction Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_action_id is None: raise TypeError("unified_rbac_resource_action_id cannot be null.") from .item.unified_rbac_resource_action_item_request_builder import UnifiedRbacResourceActionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceAction, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceAction, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index 6f47b917d15..c3f64c9a21b 100644 --- a/msgraph_beta/generated/role_management/defender/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceNamespace, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceNamespace, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceNamespaceItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceNamespaceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/defender/resource_namespaces/resource_namespaces_request_builder.py index 8da7627e40b..cd34e3e47d1 100644 --- a/msgraph_beta/generated/role_management/defender/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/resource_namespaces/resource_namespaces_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_namespace_id(self,unified_rbac_resource_namespace_i param unified_rbac_resource_namespace_id: The unique identifier of unifiedRbacResourceNamespace Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_namespace_id is None: raise TypeError("unified_rbac_resource_namespace_id cannot be null.") from .item.unified_rbac_resource_namespace_item_request_builder import UnifiedRbacResourceNamespaceItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespaceCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceNamespace, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceNamespace, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceNamespacesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceNamespacesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceNamespacesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/count/count_request_builder.py index 7406d8d0f36..08cad054802 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/app_scopes_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/app_scopes_request_builder.py index 33a87de1c92..62b4638011e 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/app_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/app_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_app_scope_id(self,app_scope_id: str) -> AppScopeItemRequestBuilder: param app_scope_id: The unique identifier of appScope Returns: AppScopeItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if app_scope_id is None: raise TypeError("app_scope_id cannot be null.") from .item.app_scope_item_request_builder import AppScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScopeCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AppScope, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AppScope, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AppScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/count/count_request_builder.py index d3a970d0497..7187d7ea88b 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py index e0884f24471..e5653a40d80 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AppScope, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: AppScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> AppScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/count/count_request_builder.py index 259e6b0884e..f1648f1fcfb 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/directory_scopes_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/directory_scopes_request_builder.py index 80cc48319ff..066f6590960 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/directory_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/directory_scopes_request_builder.py @@ -38,6 +38,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> DirectoryScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py index 6ce2e54e2b1..7b45acd7486 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/count/count_request_builder.py index 06dcc8b8eb9..a934d70616e 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/item/directory_object_item_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/item/directory_object_item_request_builder.py index 1c95f6f5bca..4874f225741 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/item/directory_object_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/principals_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/principals_request_builder.py index ec67460c13d..5c3c1c1e617 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/principals_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/principals/principals_request_builder.py @@ -38,6 +38,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> PrincipalsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/role_definition/role_definition_request_builder.py index 06a5ba5443b..d0d02c5f669 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py index d806e010f9c..dcf94b3f5cc 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultiple] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleAssignmentMultiple, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultiple] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentMultiple, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentMultipleItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentMultipleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentMultipleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/defender/role_assignments/role_assignments_request_builder.py index 6888eeebd0f..8cf52f8421e 100644 --- a/msgraph_beta/generated/role_management/defender/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_assignments/role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_assignment_multiple_id(self,unified_role_assignment_multiple param unified_role_assignment_multiple_id: The unique identifier of unifiedRoleAssignmentMultiple Returns: UnifiedRoleAssignmentMultipleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_multiple_id is None: raise TypeError("unified_role_assignment_multiple_id cannot be null.") from .item.unified_role_assignment_multiple_item_request_builder import UnifiedRoleAssignmentMultipleItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultipleCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleAssignmentMultiple, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentMultiple] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentMultiple, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_definitions/count/count_request_builder.py index 639175cfbc4..12f8528f7d1 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/defender/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index abd89a5bea8..3d1d7d00682 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index c8abdba42aa..b189da859af 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index 944af96c447..10a9edf76d6 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id1(self,unified_role_definition_id1: str) -> Uni param unified_role_definition_id1: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id1 is None: raise TypeError("unified_role_definition_id1 cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Inherits param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InheritsPermissionsFromRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InheritsPermissionsFromRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InheritsPermissionsFromRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 04d393641d5..5ee2fc99a8c 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index 31bf283b0e5..98f06386443 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/defender/role_definitions/item/unified_role_definition_item_request_builder.py index 991df200dfb..27b8da14687 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/item/unified_role_definition_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/defender/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/defender/role_definitions/role_definitions_request_builder.py index 841ec729975..bf3381da8bc 100644 --- a/msgraph_beta/generated/role_management/defender/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/defender/role_definitions/role_definitions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi param unified_role_definition_id: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id is None: raise TypeError("unified_role_definition_id cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/device_management_request_builder.py b/msgraph_beta/generated/role_management/device_management/device_management_request_builder.py index 2054364b661..2ed56aa376a 100644 --- a/msgraph_beta/generated/role_management/device_management/device_management_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/device_management_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceMa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplicationMultiple] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: RbacApplicationMultiple, request_configuration: Optio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplicationMultiple] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: RbacApplicationMultiple, request_con param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> DeviceManagementRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DeviceManagementRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DeviceManagementRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/count/count_request_builder.py index d490ffb80f9..6d5bdcaaa5a 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index f81a6ab69f2..601a0657a03 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ImportResourceActionsPostRequestBody, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -61,6 +62,7 @@ def to_post_request_information(self,body: ImportResourceActionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,6 +77,7 @@ def with_url(self,raw_url: str) -> ImportResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ImportResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ImportResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/count/count_request_builder.py index a7128994ddc..14e14ac76c1 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index dda855b57fc..33ba8fdce87 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationContextClassReference] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AuthenticationContextRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthenticationContextRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationContextRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index 264ac7cb786..edfaf64f6d0 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: UnifiedRbacResourceScope, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceScope, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> ResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index 2f11a7a9afb..3ad940196c5 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceAction, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceAction, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceActionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceActionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index a8a5abdab87..aacb3816445 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str param unified_rbac_resource_action_id: The unique identifier of unifiedRbacResourceAction Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_action_id is None: raise TypeError("unified_rbac_resource_action_id cannot be null.") from .item.unified_rbac_resource_action_item_request_builder import UnifiedRbacResourceActionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceAction, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceAction, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index 7738333de23..7c80729b611 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceNamespace, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceNamespace, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceNamespaceItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceNamespaceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/device_management/resource_namespaces/resource_namespaces_request_builder.py index b255d04fd91..c88ed9452ea 100644 --- a/msgraph_beta/generated/role_management/device_management/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/resource_namespaces/resource_namespaces_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_namespace_id(self,unified_rbac_resource_namespace_i param unified_rbac_resource_namespace_id: The unique identifier of unifiedRbacResourceNamespace Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_namespace_id is None: raise TypeError("unified_rbac_resource_namespace_id cannot be null.") from .item.unified_rbac_resource_namespace_item_request_builder import UnifiedRbacResourceNamespaceItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespaceCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceNamespace, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceNamespace, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceNamespacesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceNamespacesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceNamespacesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/count/count_request_builder.py index b81f0c6c30a..4550b67a4fb 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/app_scopes_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/app_scopes_request_builder.py index 6ac55684ed0..3f860719e6f 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/app_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/app_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_app_scope_id(self,app_scope_id: str) -> AppScopeItemRequestBuilder: param app_scope_id: The unique identifier of appScope Returns: AppScopeItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if app_scope_id is None: raise TypeError("app_scope_id cannot be null.") from .item.app_scope_item_request_builder import AppScopeItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScopeCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: AppScope, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: AppScope, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> AppScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/count/count_request_builder.py index 7893e702abe..8b2d19d42f6 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py index d28f12dfb25..71d659cb83e 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/app_scopes/item/app_scope_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AppScope, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: AppScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> AppScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/count/count_request_builder.py index 8445cc6f0e0..2e85762665f 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/directory_scopes_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/directory_scopes_request_builder.py index ab3d0e92920..ec7ddfee655 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/directory_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/directory_scopes_request_builder.py @@ -38,6 +38,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> DirectoryScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py index ed318ab9e6b..4e716c42c09 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/directory_scopes/item/directory_object_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/count/count_request_builder.py index 21bffb76031..ffee7ec41c1 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/item/directory_object_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/item/directory_object_item_request_builder.py index 3ecd1a8a578..434588b1666 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/item/directory_object_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/item/directory_object_item_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryObjectItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryObjectItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/principals_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/principals_request_builder.py index 205deff47cb..d32ba04491d 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/principals_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/principals/principals_request_builder.py @@ -38,6 +38,7 @@ def by_directory_object_id(self,directory_object_id: str) -> DirectoryObjectItem param directory_object_id: The unique identifier of directoryObject Returns: DirectoryObjectItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if directory_object_id is None: raise TypeError("directory_object_id cannot be null.") from .item.directory_object_item_request_builder import DirectoryObjectItemRequestBuilder @@ -52,6 +53,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObjectCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -72,6 +74,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -83,6 +86,7 @@ def with_url(self,raw_url: str) -> PrincipalsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/role_definition/role_definition_request_builder.py index 87d3c3269ce..d35a4e7f492 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py index 540df9ba915..3b31a6a1998 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/item/unified_role_assignment_multiple_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-delete?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRoleAssignmentMultiple] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -82,6 +84,7 @@ async def patch(self,body: UnifiedRoleAssignmentMultiple, request_configuration: Returns: Optional[UnifiedRoleAssignmentMultiple] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentmultiple-update?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,6 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentMultiple, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentMultipleItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentMultipleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentMultipleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py index ab8be829575..8f6cd0442bc 100644 --- a/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_assignments/role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_assignment_multiple_id(self,unified_role_assignment_multiple param unified_role_assignment_multiple_id: The unique identifier of unifiedRoleAssignmentMultiple Returns: UnifiedRoleAssignmentMultipleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_multiple_id is None: raise TypeError("unified_role_assignment_multiple_id cannot be null.") from .item.unified_role_assignment_multiple_item_request_builder import UnifiedRoleAssignmentMultipleItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi Returns: Optional[UnifiedRoleAssignmentMultipleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: UnifiedRoleAssignmentMultiple, request_configuration: Returns: Optional[UnifiedRoleAssignmentMultiple] Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-post-roleassignments?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentMultiple, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/count/count_request_builder.py index 649743e906d..fdf67c8e3e7 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 032bef097fc..b93b4ff601d 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index 8baba84d7e7..c4b330cfa5a 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index 1e2a22fabd7..cce9c55f5c0 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id1(self,unified_role_definition_id1: str) -> Uni param unified_role_definition_id1: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id1 is None: raise TypeError("unified_role_definition_id1 cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Inherits param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InheritsPermissionsFromRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InheritsPermissionsFromRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InheritsPermissionsFromRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 28e3202df98..d0cc470652c 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index b2a80f1de25..3eb4150f592 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/item/unified_role_definition_item_request_builder.py index 3324219da0d..6380aec00fa 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/item/unified_role_definition_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/device_management/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/device_management/role_definitions/role_definitions_request_builder.py index bc722a27d5b..7bdb5cdffea 100644 --- a/msgraph_beta/generated/role_management/device_management/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/device_management/role_definitions/role_definitions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi param unified_role_definition_id: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id is None: raise TypeError("unified_role_definition_id cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/directory_request_builder.py b/msgraph_beta/generated/role_management/directory/directory_request_builder.py index 56e1cf87100..d4918265ca1 100644 --- a/msgraph_beta/generated/role_management/directory/directory_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/directory_request_builder.py @@ -49,6 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -67,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplication] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +90,7 @@ async def patch(self,body: RbacApplication, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplication] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -110,6 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -120,6 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -132,6 +137,7 @@ def to_patch_request_information(self,body: RbacApplication, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,6 +152,7 @@ def with_url(self,raw_url: str) -> DirectoryRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/count/count_request_builder.py index ad173e5b0b2..e105c5c51bf 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index 14950eb6c0d..82125f2388f 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ImportResourceActionsPostRequestBody, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -61,6 +62,7 @@ def to_post_request_information(self,body: ImportResourceActionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,6 +77,7 @@ def with_url(self,raw_url: str) -> ImportResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ImportResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ImportResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.py index 6aa231e5dcc..1cb49fcb174 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index 27474cc7f97..0bb8f996e91 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationContextClassReference] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AuthenticationContextRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthenticationContextRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationContextRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index 36b28b9aa94..b730ff40eda 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: UnifiedRbacResourceScope, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceScope, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> ResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index 0953223054f..a867ab9f9d3 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRbacResourceAction] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourceaction-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: UnifiedRbacResourceAction, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceAction, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceActionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceActionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index 19ba7936ede..345bc25257f 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str param unified_rbac_resource_action_id: The unique identifier of unifiedRbacResourceAction Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_action_id is None: raise TypeError("unified_rbac_resource_action_id cannot be null.") from .item.unified_rbac_resource_action_item_request_builder import UnifiedRbacResourceActionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource Returns: Optional[UnifiedRbacResourceActionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-list-resourceactions?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: UnifiedRbacResourceAction, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceAction, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> ResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index 1cffc5b34b4..bf0e39f432d 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -57,6 +58,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRbacResourceNamespace] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacresourcenamespace-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: UnifiedRbacResourceNamespace, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceNamespace, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceNamespaceItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceNamespaceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/directory/resource_namespaces/resource_namespaces_request_builder.py index 965dcb08ac4..a7328a3d067 100644 --- a/msgraph_beta/generated/role_management/directory/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/resource_namespaces/resource_namespaces_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_namespace_id(self,unified_rbac_resource_namespace_i param unified_rbac_resource_namespace_id: The unique identifier of unifiedRbacResourceNamespace Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_namespace_id is None: raise TypeError("unified_rbac_resource_namespace_id cannot be null.") from .item.unified_rbac_resource_namespace_item_request_builder import UnifiedRbacResourceNamespaceItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource Returns: Optional[UnifiedRbacResourceNamespaceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-resourcenamespaces?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: UnifiedRbacResourceNamespace, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceNamespace, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> ResourceNamespacesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceNamespacesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceNamespacesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/count/count_request_builder.py index 0673e1b60d0..76fa389167e 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index ef3778b73b2..bbdbc4de99f 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/approval_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/approval_item_request_builder.py index 0ac5ce03f4c..29952dbb1c8 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/approval_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/approval_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: Approval, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: Approval, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> ApprovalItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/count/count_request_builder.py index 70e9bb61edd..10f620fd73f 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py index 4f4ab16a4b0..cf2c4afad71 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: ApprovalStep, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> ApprovalStepItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalStepItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalStepItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/steps_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/steps_request_builder.py index b0e80403ef2..79ee99c461e 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/steps_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/item/steps/steps_request_builder.py @@ -39,6 +39,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu param approval_step_id: The unique identifier of approvalStep Returns: ApprovalStepItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if approval_step_id is None: raise TypeError("approval_step_id cannot be null.") from .item.approval_step_item_request_builder import ApprovalStepItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StepsReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: ApprovalStep, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> StepsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StepsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StepsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/role_assignment_approvals_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/role_assignment_approvals_request_builder.py index 7863281d0b9..49a86fb81a0 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_approvals/role_assignment_approvals_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_approvals/role_assignment_approvals_request_builder.py @@ -40,6 +40,7 @@ def by_approval_id(self,approval_id: str) -> ApprovalItemRequestBuilder: param approval_id: The unique identifier of approval Returns: ApprovalItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if approval_id is None: raise TypeError("approval_id cannot be null.") from .item.approval_item_request_builder import ApprovalItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: Approval, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: Approval, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentApprovalsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentApprovalsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentApprovalsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/count/count_request_builder.py index 5fcb5da1fa4..1de2ab41885 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index ecb16cd67c5..2a7f5c7798b 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py index d1f7d89c9f6..fb2d905dd89 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py index 7b1887de617..b29e2442275 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py index 95fb1e32e3f..f61d9861ce1 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/principal/principal_request_builder.py index 8e104a53f3d..5e2d0095c0e 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py index 03f9a1bf826..07c3824f82a 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py index 54d622bcc04..73e39e62e6e 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRoleAssignmentScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: UnifiedRoleAssignmentScheduleInstance, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentScheduleInstanc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentScheduleInstanceItemRequ param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py index b3165a8f237..82b2bdfc885 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_assignment_schedule_instance_id(self,unified_role_assignment param unified_role_assignment_schedule_instance_id: The unique identifier of unifiedRoleAssignmentScheduleInstance Returns: UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_schedule_instance_id is None: raise TypeError("unified_role_assignment_schedule_instance_id cannot be null.") from .item.unified_role_assignment_schedule_instance_item_request_builder import UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi Returns: Optional[UnifiedRoleAssignmentScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentscheduleinstances?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: UnifiedRoleAssignmentScheduleInstance, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentScheduleInstance param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentScheduleInstancesRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentScheduleInstancesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentScheduleInstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/count/count_request_builder.py index a790b694d19..3374f1f31a9 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 7cf9d2349b8..13551d1397c 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py index 97dd8321194..14a73b270a8 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py index 497ba8c7530..723a921c16a 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py index 0d5c2ef99ab..fe5b64cb697 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py index 4c6e7660b95..ac691055e93 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py index 66fb10e501a..ecbff85663d 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py index 6ffe2bde346..55a45d69b7d 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 9a211b07223..6cd6e71af7d 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TargetSc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TargetScheduleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TargetScheduleRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TargetScheduleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py index 05ead47de38..132c6856ef7 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py @@ -43,6 +43,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -62,6 +63,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRoleAssignmentScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -83,6 +85,7 @@ async def patch(self,body: UnifiedRoleAssignmentScheduleRequest, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -105,6 +108,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -115,6 +119,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -127,6 +132,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentScheduleRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -141,6 +147,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentScheduleRequestItemReque param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentScheduleRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py index caf38f026a8..26d8ad84bfd 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_assignment_schedule_request_id(self,unified_role_assignment_ param unified_role_assignment_schedule_request_id: The unique identifier of unifiedRoleAssignmentScheduleRequest Returns: UnifiedRoleAssignmentScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_schedule_request_id is None: raise TypeError("unified_role_assignment_schedule_request_id cannot be null.") from .item.unified_role_assignment_schedule_request_item_request_builder import UnifiedRoleAssignmentScheduleRequestItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi Returns: Optional[UnifiedRoleAssignmentScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedulerequests?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -89,6 +92,7 @@ async def post(self,body: UnifiedRoleAssignmentScheduleRequest, request_configur Returns: Optional[UnifiedRoleAssignmentScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignmentschedulerequests?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentScheduleRequest, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentScheduleRequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentScheduleRequestsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentScheduleRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/count/count_request_builder.py index d86eb4a272b..e56c66101cd 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 5211d78e67a..692739b24cf 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py index ad18ed084a1..770ff0d518d 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/app_scope/app_scope_request_builder.py index 54b4c7dfbd4..5939f364d86 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py index 4a7ea0f8d53..cee6fca6da3 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/principal/principal_request_builder.py index 934d8c7e3f9..1129223ad2f 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/role_definition/role_definition_request_builder.py index fa023475c9a..91ba281b96c 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py index 11e716dde13..d841e1192c6 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRoleAssignmentSchedule] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: UnifiedRoleAssignmentSchedule, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentSchedule, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentScheduleItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentScheduleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.py index 9c11cc98c5a..e19ecc3ba7b 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_assignment_schedule_id(self,unified_role_assignment_schedule param unified_role_assignment_schedule_id: The unique identifier of unifiedRoleAssignmentSchedule Returns: UnifiedRoleAssignmentScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_schedule_id is None: raise TypeError("unified_role_assignment_schedule_id cannot be null.") from .item.unified_role_assignment_schedule_item_request_builder import UnifiedRoleAssignmentScheduleItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi Returns: Optional[UnifiedRoleAssignmentScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignmentschedules?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: UnifiedRoleAssignmentSchedule, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentSchedule, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentSchedulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentSchedulesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentSchedulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/count/count_request_builder.py index 5c6fe4999c6..cc6cf30d960 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py index a3846a92765..a30e1467580 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AppScope, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: AppScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/item/directory_scope/directory_scope_request_builder.py index 75b070934ef..d933ba8d3dd 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/item/principal/principal_request_builder.py index 33bb8286bd7..f963e69e010 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/item/role_definition/role_definition_request_builder.py index 99b56aec74f..c6de8efcac5 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.py index 4e328ea29a3..5cd21f43a1b 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignment-delete?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignment-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: UnifiedRoleAssignment, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignment, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/directory/role_assignments/role_assignments_request_builder.py index ef28429a9e5..d83981abd5e 100644 --- a/msgraph_beta/generated/role_management/directory/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_assignments/role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi param unified_role_assignment_id: The unique identifier of unifiedRoleAssignment Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_id is None: raise TypeError("unified_role_assignment_id cannot be null.") from .item.unified_role_assignment_item_request_builder import UnifiedRoleAssignmentItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi Returns: Optional[UnifiedRoleAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: UnifiedRoleAssignment, request_configuration: Optional Returns: Optional[UnifiedRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignments?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignment, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/count/count_request_builder.py index 7ac25fef0cd..8ef166797f6 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 834c983d41f..7e3e6186bf4 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index cc13800793e..075f37f698f 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index db232521995..203f7fe0140 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id1(self,unified_role_definition_id1: str) -> Uni param unified_role_definition_id1: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id1 is None: raise TypeError("unified_role_definition_id1 cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Inherits param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InheritsPermissionsFromRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InheritsPermissionsFromRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InheritsPermissionsFromRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index aaffe87eaf4..78767300229 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index 97deb42ba55..b35ae88fbb4 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.py index 3a54c99041a..7fe278192d4 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.py @@ -39,6 +39,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-delete?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -53,11 +54,12 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> Optional[UnifiedRoleDefinition]: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-update?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,16 +105,18 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) @@ -170,7 +177,7 @@ class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/role_management/directory/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/directory/role_definitions/role_definitions_request_builder.py index 7f858a73058..3246b9f22aa 100644 --- a/msgraph_beta/generated/role_management/directory/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_definitions/role_definitions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi param unified_role_definition_id: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id is None: raise TypeError("unified_role_definition_id cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi Returns: Optional[UnifiedRoleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-post-roledefinitions?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/count/count_request_builder.py index ceac4042fcc..eb9117015a9 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index d571cac28ee..ca71437fd7a 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py index db33cab5527..0ed70b58483 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py index f2e2f3ec31f..40c592c3630 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/principal/principal_request_builder.py index 591ea7d6d63..e35cbb19fc3 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py index 5469b50c107..afb67f4140a 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py index e2809bd4dd7..f9c48fd03d4 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRoleEligibilityScheduleInstance] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: UnifiedRoleEligibilityScheduleInstance, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: UnifiedRoleEligibilityScheduleInstan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleEligibilityScheduleInstanceItemReq param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py index e63812edd64..c3a6669fdf8 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_eligibility_schedule_instance_id(self,unified_role_eligibili param unified_role_eligibility_schedule_instance_id: The unique identifier of unifiedRoleEligibilityScheduleInstance Returns: UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_eligibility_schedule_instance_id is None: raise TypeError("unified_role_eligibility_schedule_instance_id cannot be null.") from .item.unified_role_eligibility_schedule_instance_item_request_builder import UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleElig Returns: Optional[UnifiedRoleEligibilityScheduleInstanceCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityscheduleinstances?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: UnifiedRoleEligibilityScheduleInstance, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: UnifiedRoleEligibilityScheduleInstanc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RoleEligibilityScheduleInstancesRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: RoleEligibilityScheduleInstancesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleEligibilityScheduleInstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/count/count_request_builder.py index 3b14a8b8391..a5df13836fd 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 8d7e01e6b8c..55cfeb4560c 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py index addc2dca9a3..8d14d5cae99 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py index da342ac3b3a..364e29cdf21 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py index 196667601a6..f76703d99b6 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/principal/principal_request_builder.py index b580db65838..8cde1dc7d87 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py index d9ccd2ed228..4d1f7354535 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 4367c160ae1..911ecf62bb2 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TargetSc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TargetScheduleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TargetScheduleRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TargetScheduleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py index 78416efe458..7e12596484c 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -61,6 +62,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRoleEligibilityScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -82,6 +84,7 @@ async def patch(self,body: UnifiedRoleEligibilityScheduleRequest, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,6 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: UnifiedRoleEligibilityScheduleReques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleEligibilityScheduleRequestItemRequ param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleEligibilityScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleEligibilityScheduleRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py index cd0e3c4e1f2..4c26ba05878 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_eligibility_schedule_request_id(self,unified_role_eligibilit param unified_role_eligibility_schedule_request_id: The unique identifier of unifiedRoleEligibilityScheduleRequest Returns: UnifiedRoleEligibilityScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_eligibility_schedule_request_id is None: raise TypeError("unified_role_eligibility_schedule_request_id cannot be null.") from .item.unified_role_eligibility_schedule_request_item_request_builder import UnifiedRoleEligibilityScheduleRequestItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleElig Returns: Optional[UnifiedRoleEligibilityScheduleRequestCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedulerequests?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -89,6 +92,7 @@ async def post(self,body: UnifiedRoleEligibilityScheduleRequest, request_configu Returns: Optional[UnifiedRoleEligibilityScheduleRequest] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-post-roleeligibilityschedulerequests?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_post_request_information(self,body: UnifiedRoleEligibilityScheduleRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> RoleEligibilityScheduleRequestsRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: RoleEligibilityScheduleRequestsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleEligibilityScheduleRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/count/count_request_builder.py index 7fc202170e7..f983b0cab78 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index c33ca58f1e0..89ec27765f8 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py index c1f030cac87..bbcb50f8c51 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py index 888b3828e41..c94df374e7e 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/principal/principal_request_builder.py index 68a92ef79d6..9519a00eec7 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py index 51d0d9f8bb6..28112104edc 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py index e90d16bfeeb..73d9894791b 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRoleEligibilitySchedule] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: UnifiedRoleEligibilitySchedule, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: UnifiedRoleEligibilitySchedule, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleEligibilityScheduleItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleEligibilityScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleEligibilityScheduleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.py b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.py index 81ff90dd495..f85d223f06c 100644 --- a/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_eligibility_schedule_id(self,unified_role_eligibility_schedu param unified_role_eligibility_schedule_id: The unique identifier of unifiedRoleEligibilitySchedule Returns: UnifiedRoleEligibilityScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_eligibility_schedule_id is None: raise TypeError("unified_role_eligibility_schedule_id cannot be null.") from .item.unified_role_eligibility_schedule_item_request_builder import UnifiedRoleEligibilityScheduleItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -67,6 +69,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleElig Returns: Optional[UnifiedRoleEligibilityScheduleCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleeligibilityschedules?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +91,7 @@ async def post(self,body: UnifiedRoleEligibilitySchedule, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_post_request_information(self,body: UnifiedRoleEligibilitySchedule, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> RoleEligibilitySchedulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleEligibilitySchedulesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleEligibilitySchedulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index b6d0e1f7abb..8a4b8bd28c6 100644 --- a/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleSche Returns: Optional[RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-rolescheduleinstances?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> RoleScheduleInstancesdirectoryScopeIdDirector param raw_url: The raw URL to use for the request builder. Returns: RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index bcae09ad934..c4488ea99a8 100644 --- a/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleSche Returns: Optional[RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-roleschedules?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> RoleSchedulesdirectoryScopeIdDirectoryScopeId param raw_url: The raw URL to use for the request builder. Returns: RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/count/count_request_builder.py index 854a1183e7c..bd426b2ef6f 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/app_scope/app_scope_request_builder.py index 1097327268f..5d49ae9e548 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AppScope, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: AppScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py index c6fe67891cb..67552c651bd 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/principal/principal_request_builder.py index b80e50db276..7bc4e891be1 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/role_definition/role_definition_request_builder.py index a8ec5cf172d..59832086000 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py index deb920d4f06..d33a7f0253b 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleAssignment, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignment, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/transitive_role_assignments_request_builder.py b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/transitive_role_assignments_request_builder.py index dce566eb97a..53bd4c8645e 100644 --- a/msgraph_beta/generated/role_management/directory/transitive_role_assignments/transitive_role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/directory/transitive_role_assignments/transitive_role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi param unified_role_assignment_id: The unique identifier of unifiedRoleAssignment Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_id is None: raise TypeError("unified_role_assignment_id cannot be null.") from .item.unified_role_assignment_item_request_builder import UnifiedRoleAssignmentItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Transiti Returns: Optional[UnifiedRoleAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-transitiveroleassignments?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: UnifiedRoleAssignment, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignment, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> TransitiveRoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TransitiveRoleAssignmentsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TransitiveRoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/count/count_request_builder.py index 4e343f711f7..43824dd408e 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/enterprise_apps_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/enterprise_apps_request_builder.py index 9b84103f9ae..fda64a3edca 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/enterprise_apps_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/enterprise_apps_request_builder.py @@ -39,6 +39,7 @@ def by_rbac_application_id(self,rbac_application_id: str) -> RbacApplicationItem param rbac_application_id: The unique identifier of rbacApplication Returns: RbacApplicationItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if rbac_application_id is None: raise TypeError("rbac_application_id cannot be null.") from .item.rbac_application_item_request_builder import RbacApplicationItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Enterpri param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplicationCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: RbacApplication, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplication] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: RbacApplication, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> EnterpriseAppsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EnterpriseAppsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EnterpriseAppsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/rbac_application_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/rbac_application_item_request_builder.py index a59c3b4cc37..b5f216ee0df 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/rbac_application_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/rbac_application_item_request_builder.py @@ -49,6 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -67,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RbacAppl param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplication] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +90,7 @@ async def patch(self,body: RbacApplication, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplication] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -110,6 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -120,6 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -132,6 +137,7 @@ def to_patch_request_information(self,body: RbacApplication, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,6 +152,7 @@ def with_url(self,raw_url: str) -> RbacApplicationItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RbacApplicationItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RbacApplicationItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/count/count_request_builder.py index 92e99ef0c1d..b172a50bdd0 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index ed9509546ae..6cdf2616dbc 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ImportResourceActionsPostRequestBody, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -61,6 +62,7 @@ def to_post_request_information(self,body: ImportResourceActionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,6 +77,7 @@ def with_url(self,raw_url: str) -> ImportResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ImportResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ImportResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/count/count_request_builder.py index 245db356284..5c3572f9bb3 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index 3e3a8d8f107..cc0a02671a0 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationContextClassReference] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AuthenticationContextRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthenticationContextRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationContextRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index 9b4848b1870..157daa8ea54 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: UnifiedRbacResourceScope, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceScope, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> ResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index 112e1047e5a..a434189b19d 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceAction, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceAction, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceActionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceActionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index 9c629dfb2a1..a4dddb6b2a9 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str param unified_rbac_resource_action_id: The unique identifier of unifiedRbacResourceAction Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_action_id is None: raise TypeError("unified_rbac_resource_action_id cannot be null.") from .item.unified_rbac_resource_action_item_request_builder import UnifiedRbacResourceActionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceAction, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceAction, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index 80fd3782b1d..bf402d4b79d 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceNamespace, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceNamespace, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceNamespaceItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceNamespaceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/resource_namespaces_request_builder.py index 9fc32eb959e..9f7484fd9aa 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/resource_namespaces/resource_namespaces_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_namespace_id(self,unified_rbac_resource_namespace_i param unified_rbac_resource_namespace_id: The unique identifier of unifiedRbacResourceNamespace Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_namespace_id is None: raise TypeError("unified_rbac_resource_namespace_id cannot be null.") from .item.unified_rbac_resource_namespace_item_request_builder import UnifiedRbacResourceNamespaceItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespaceCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceNamespace, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceNamespace, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceNamespacesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceNamespacesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceNamespacesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/count/count_request_builder.py index 30aecc65d11..8fc8229086c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 666f9c9cf0e..0b3a794cdb9 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/approval_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/approval_item_request_builder.py index 9b5fb1ef653..0f682236d4a 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/approval_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/approval_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: Approval, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: Approval, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> ApprovalItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/count/count_request_builder.py index dcdad9aa8e5..ae7fa800b33 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py index c75d6617fe8..20b1e132ae1 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: ApprovalStep, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> ApprovalStepItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalStepItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalStepItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/steps_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/steps_request_builder.py index 904cb3c6376..b910e44648c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/steps_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/item/steps/steps_request_builder.py @@ -39,6 +39,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu param approval_step_id: The unique identifier of approvalStep Returns: ApprovalStepItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if approval_step_id is None: raise TypeError("approval_step_id cannot be null.") from .item.approval_step_item_request_builder import ApprovalStepItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StepsReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: ApprovalStep, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> StepsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StepsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StepsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/role_assignment_approvals_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/role_assignment_approvals_request_builder.py index e510fd75c3f..85831317682 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/role_assignment_approvals_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_approvals/role_assignment_approvals_request_builder.py @@ -40,6 +40,7 @@ def by_approval_id(self,approval_id: str) -> ApprovalItemRequestBuilder: param approval_id: The unique identifier of approval Returns: ApprovalItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if approval_id is None: raise TypeError("approval_id cannot be null.") from .item.approval_item_request_builder import ApprovalItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: Approval, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: Approval, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentApprovalsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentApprovalsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentApprovalsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/count/count_request_builder.py index dfc132a472a..f21f39355ce 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 60c6908f6c5..5e46b9f2ebc 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py index e3a3d5f8f19..d09c10193ca 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py index 81a27a30096..b4e706e44d4 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py index f511471bdfd..45579c677e9 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/principal/principal_request_builder.py index 937fbc58bd2..d875b1bf774 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py index b63a7731050..0b764584fa5 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py index e5a283225ee..1c822d7f24c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: UnifiedRoleAssignmentScheduleInstance, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentScheduleInstanc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentScheduleInstanceItemRequ param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py index 7eab777dfdc..bb322478253 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_assignment_schedule_instance_id(self,unified_role_assignment param unified_role_assignment_schedule_instance_id: The unique identifier of unifiedRoleAssignmentScheduleInstance Returns: UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_schedule_instance_id is None: raise TypeError("unified_role_assignment_schedule_instance_id cannot be null.") from .item.unified_role_assignment_schedule_instance_item_request_builder import UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstanceCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleAssignmentScheduleInstance, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentScheduleInstance param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentScheduleInstancesRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentScheduleInstancesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentScheduleInstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/count/count_request_builder.py index 12d25c6b7d8..3862b75f314 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 9d7e83a1d84..971d61ba9cd 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py index 202d1f6cde3..a4700f0722b 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py index 5e430a4bb38..c29cdff6916 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py index 46e5acdee09..2f284c15c03 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py index 33e3ee67f5f..930457044af 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py index 4ff4b28a275..1c04c9ab078 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py index 1f632468a56..016916f11f3 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 1e627e48e8e..9ecd47bde22 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TargetSc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TargetScheduleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TargetScheduleRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TargetScheduleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py index 0dcea389594..f85357d83be 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py @@ -43,6 +43,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -61,6 +62,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -82,6 +84,7 @@ async def patch(self,body: UnifiedRoleAssignmentScheduleRequest, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,6 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentScheduleRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentScheduleRequestItemReque param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentScheduleRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py index 52189dc2f77..5ad68728859 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_assignment_schedule_request_id(self,unified_role_assignment_ param unified_role_assignment_schedule_request_id: The unique identifier of unifiedRoleAssignmentScheduleRequest Returns: UnifiedRoleAssignmentScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_schedule_request_id is None: raise TypeError("unified_role_assignment_schedule_request_id cannot be null.") from .item.unified_role_assignment_schedule_request_item_request_builder import UnifiedRoleAssignmentScheduleRequestItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequestCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleAssignmentScheduleRequest, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentScheduleRequest, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentScheduleRequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentScheduleRequestsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentScheduleRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/count/count_request_builder.py index 0a69bf37768..074ca5cdc64 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 93460314f70..3b4839abbcb 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py index de25900fd66..959e0f14b84 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/app_scope/app_scope_request_builder.py index 30742fb5d25..eb442b4f105 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py index 5c6672f2452..e099082ad42 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/principal/principal_request_builder.py index 605674a98b8..5ae0aae441c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/role_definition/role_definition_request_builder.py index e2c4aa68c60..2c1bfc964bb 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py index 8eefa369a39..55a8d257083 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: UnifiedRoleAssignmentSchedule, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentSchedule, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentScheduleItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentScheduleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/role_assignment_schedules_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/role_assignment_schedules_request_builder.py index a395f512f2a..9d1d5d8e315 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/role_assignment_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignment_schedules/role_assignment_schedules_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_assignment_schedule_id(self,unified_role_assignment_schedule param unified_role_assignment_schedule_id: The unique identifier of unifiedRoleAssignmentSchedule Returns: UnifiedRoleAssignmentScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_schedule_id is None: raise TypeError("unified_role_assignment_schedule_id cannot be null.") from .item.unified_role_assignment_schedule_item_request_builder import UnifiedRoleAssignmentScheduleItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleAssignmentSchedule, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentSchedule, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentSchedulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentSchedulesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentSchedulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/count/count_request_builder.py index 225607de990..d755415aea3 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/app_scope/app_scope_request_builder.py index 8e9b47e2508..ff2a87360cd 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AppScope, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: AppScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/directory_scope/directory_scope_request_builder.py index c3ee36c1d02..23f11bf4ba6 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/principal/principal_request_builder.py index 3804b73dffa..982e3e2c1e1 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/role_definition/role_definition_request_builder.py index 32499350a14..ed65a50889f 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/unified_role_assignment_item_request_builder.py index 06e2069ad23..a1ace41cc3a 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/item/unified_role_assignment_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleAssignment, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignment, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/role_assignments_request_builder.py index 6a95711b07a..e7600acccb4 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_assignments/role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi param unified_role_assignment_id: The unique identifier of unifiedRoleAssignment Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_id is None: raise TypeError("unified_role_assignment_id cannot be null.") from .item.unified_role_assignment_item_request_builder import UnifiedRoleAssignmentItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleAssignment, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignment, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/count/count_request_builder.py index 090ad944104..d0a1194cc84 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 288149ea991..14c535c02c8 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index 6b042200e15..8045aad209e 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index 176c7335ed2..ae827fa0de2 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id1(self,unified_role_definition_id1: str) -> Uni param unified_role_definition_id1: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id1 is None: raise TypeError("unified_role_definition_id1 cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Inherits param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InheritsPermissionsFromRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InheritsPermissionsFromRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InheritsPermissionsFromRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 3c8c8cf565a..8d1fef274e3 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index a73974084e3..d6f2b6beeba 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/unified_role_definition_item_request_builder.py index 1c6600fecaa..8e49d4833de 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/item/unified_role_definition_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/role_definitions_request_builder.py index 20c85bac860..e37d4303683 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_definitions/role_definitions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi param unified_role_definition_id: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id is None: raise TypeError("unified_role_definition_id cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/count/count_request_builder.py index fe1a91ddfcf..b44d57ed2cd 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index af9723d4c1f..21da5958ed7 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py index fe68a879696..d39fcdb4a2a 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py index 2816460382a..8c951fd2cbb 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/principal/principal_request_builder.py index a8ad9982828..0a741514832 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py index 83bcd584c39..a355165175c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py index 48ab643484a..3dbad19ec35 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleEligibilityScheduleInstance, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoleEligibilityScheduleInstan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleEligibilityScheduleInstanceItemReq param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py index 6a7f00097a1..2cc27cd7580 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_eligibility_schedule_instance_id(self,unified_role_eligibili param unified_role_eligibility_schedule_instance_id: The unique identifier of unifiedRoleEligibilityScheduleInstance Returns: UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_eligibility_schedule_instance_id is None: raise TypeError("unified_role_eligibility_schedule_instance_id cannot be null.") from .item.unified_role_eligibility_schedule_instance_item_request_builder import UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleElig param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstanceCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleEligibilityScheduleInstance, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleEligibilityScheduleInstanc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleEligibilityScheduleInstancesRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: RoleEligibilityScheduleInstancesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleEligibilityScheduleInstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/count/count_request_builder.py index 9ae02113bd8..a12700638a0 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index a38fc3acbe4..a3f864e91df 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py index af283776d7b..bb86230afef 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py index a0837132c88..3e97913b35a 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py index e064f64e0ea..8d5ee7e786f 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/principal/principal_request_builder.py index bce4d591acb..0366197606a 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py index 01896430bf5..7102af87c8c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 8d659d483da..c6e3068fbbe 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TargetSc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TargetScheduleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TargetScheduleRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TargetScheduleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py index f8a3bef9505..0dcfcc9430e 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: UnifiedRoleEligibilityScheduleRequest, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: UnifiedRoleEligibilityScheduleReques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleEligibilityScheduleRequestItemRequ param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleEligibilityScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleEligibilityScheduleRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py index 4d8707cf1e0..1ff98a8ae45 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_eligibility_schedule_request_id(self,unified_role_eligibilit param unified_role_eligibility_schedule_request_id: The unique identifier of unifiedRoleEligibilityScheduleRequest Returns: UnifiedRoleEligibilityScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_eligibility_schedule_request_id is None: raise TypeError("unified_role_eligibility_schedule_request_id cannot be null.") from .item.unified_role_eligibility_schedule_request_item_request_builder import UnifiedRoleEligibilityScheduleRequestItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleElig param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequestCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleEligibilityScheduleRequest, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleEligibilityScheduleRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleEligibilityScheduleRequestsRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: RoleEligibilityScheduleRequestsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleEligibilityScheduleRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/count/count_request_builder.py index 44522ae5cc3..05778ad73f5 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index c407c17affa..dd9fdb94682 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py index d5d950552d5..0c1614d356a 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py index 3d1302dab97..f5f67bc3e52 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/principal/principal_request_builder.py index aa2a9c3ee05..3f733e3cf04 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py index 773969c4ade..8bcc20dece0 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py index 58aef42a481..4e76eb6299c 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleEligibilitySchedule, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoleEligibilitySchedule, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleEligibilityScheduleItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleEligibilityScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleEligibilityScheduleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/role_eligibility_schedules_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/role_eligibility_schedules_request_builder.py index 6cd3fd33e9c..23f6fca3ff6 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/role_eligibility_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_eligibility_schedules/role_eligibility_schedules_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_eligibility_schedule_id(self,unified_role_eligibility_schedu param unified_role_eligibility_schedule_id: The unique identifier of unifiedRoleEligibilitySchedule Returns: UnifiedRoleEligibilityScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_eligibility_schedule_id is None: raise TypeError("unified_role_eligibility_schedule_id cannot be null.") from .item.unified_role_eligibility_schedule_item_request_builder import UnifiedRoleEligibilityScheduleItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleElig param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleEligibilitySchedule, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleEligibilitySchedule, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleEligibilitySchedulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleEligibilitySchedulesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleEligibilitySchedulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index f723c5dca1f..3c6ff3d0d15 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleSche Returns: Optional[RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-rolescheduleinstances?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> RoleScheduleInstancesdirectoryScopeIdDirector param raw_url: The raw URL to use for the request builder. Returns: RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index 58b2d571800..fba8eb496b6 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleSche Returns: Optional[RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-roleschedules?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> RoleSchedulesdirectoryScopeIdDirectoryScopeId param raw_url: The raw URL to use for the request builder. Returns: RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/count/count_request_builder.py index 2ef93b94563..04ae0032c7d 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/app_scope/app_scope_request_builder.py index aec21bac28a..16e7a8e7c12 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AppScope, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: AppScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py index 0a81f311f39..3d6a2f40731 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/principal/principal_request_builder.py index c8990e0bd23..85fa6a57daf 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/role_definition/role_definition_request_builder.py index f654b7215dc..0fa6369c114 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py index 9ef18cc4a7f..a39c98ca398 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleAssignment, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignment, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/transitive_role_assignments_request_builder.py b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/transitive_role_assignments_request_builder.py index 22a0fc55df8..0edf9a7b07e 100644 --- a/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/transitive_role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/enterprise_apps/item/transitive_role_assignments/transitive_role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi param unified_role_assignment_id: The unique identifier of unifiedRoleAssignment Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_id is None: raise TypeError("unified_role_assignment_id cannot be null.") from .item.unified_role_assignment_item_request_builder import UnifiedRoleAssignmentItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Transiti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleAssignment, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignment, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> TransitiveRoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TransitiveRoleAssignmentsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TransitiveRoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/entitlement_management_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/entitlement_management_request_builder.py index 7a2a6c7f547..63cb5917272 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/entitlement_management_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/entitlement_management_request_builder.py @@ -49,6 +49,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -67,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Entitlem param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplication] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -88,6 +90,7 @@ async def patch(self,body: RbacApplication, request_configuration: Optional[Requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RbacApplication] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -110,6 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -120,6 +124,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -132,6 +137,7 @@ def to_patch_request_information(self,body: RbacApplication, request_configurati param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -146,6 +152,7 @@ def with_url(self,raw_url: str) -> EntitlementManagementRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: EntitlementManagementRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return EntitlementManagementRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/count/count_request_builder.py index 6fe33fe2bec..b45c2da9f8f 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index 5301056dcfe..618a5729927 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ImportResourceActionsPostRequestBody, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -61,6 +62,7 @@ def to_post_request_information(self,body: ImportResourceActionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,6 +77,7 @@ def with_url(self,raw_url: str) -> ImportResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ImportResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ImportResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.py index 0c2151f0b81..2cf7f1277d0 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index a7f218686de..d9c2bbf1a57 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationContextClassReference] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AuthenticationContextRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthenticationContextRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationContextRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index dd233f88332..f8b9563a8ed 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: UnifiedRbacResourceScope, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceScope, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> ResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index aaffe6c1da2..61d7b49606e 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceAction, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceAction, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceActionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceActionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index cf212641559..761a1134e5d 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str param unified_rbac_resource_action_id: The unique identifier of unifiedRbacResourceAction Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_action_id is None: raise TypeError("unified_rbac_resource_action_id cannot be null.") from .item.unified_rbac_resource_action_item_request_builder import UnifiedRbacResourceActionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceAction, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceAction, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index 342eec5f3f2..9dd3254a4e2 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceNamespace, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceNamespace, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceNamespaceItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceNamespaceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.py index 6800fc3cc9e..31de461935a 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_namespace_id(self,unified_rbac_resource_namespace_i param unified_rbac_resource_namespace_id: The unique identifier of unifiedRbacResourceNamespace Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_namespace_id is None: raise TypeError("unified_rbac_resource_namespace_id cannot be null.") from .item.unified_rbac_resource_namespace_item_request_builder import UnifiedRbacResourceNamespaceItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespaceCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceNamespace, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceNamespace, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceNamespacesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceNamespacesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceNamespacesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/count/count_request_builder.py index 38aa9f5d09f..b5428eec3d2 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 8a380357cfd..8a807aafe05 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/approval-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/approval_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/approval_item_request_builder.py index 99db82a8733..224c6a4e947 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/approval_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/approval_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: Approval, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: Approval, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> ApprovalItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/count/count_request_builder.py index 15ceab643d0..84536cdda69 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py index 41d2fee15cd..2bf08fa52fe 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/item/approval_step_item_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Approval param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: ApprovalStep, request_configuration: Optional[Request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> ApprovalStepItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ApprovalStepItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ApprovalStepItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/steps_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/steps_request_builder.py index 07f87e03fc3..dcda8ad4760 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/steps_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/item/steps/steps_request_builder.py @@ -39,6 +39,7 @@ def by_approval_step_id(self,approval_step_id: str) -> ApprovalStepItemRequestBu param approval_step_id: The unique identifier of approvalStep Returns: ApprovalStepItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if approval_step_id is None: raise TypeError("approval_step_id cannot be null.") from .item.approval_step_item_request_builder import ApprovalStepItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[StepsReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStepCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: ApprovalStep, request_configuration: Optional[RequestC param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalStep] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: ApprovalStep, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> StepsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: StepsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return StepsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/role_assignment_approvals_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/role_assignment_approvals_request_builder.py index 8bd44115571..3346edad822 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/role_assignment_approvals_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_approvals/role_assignment_approvals_request_builder.py @@ -40,6 +40,7 @@ def by_approval_id(self,approval_id: str) -> ApprovalItemRequestBuilder: param approval_id: The unique identifier of approval Returns: ApprovalItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if approval_id is None: raise TypeError("approval_id cannot be null.") from .item.approval_item_request_builder import ApprovalItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ApprovalCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: Approval, request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Approval] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: Approval, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentApprovalsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentApprovalsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentApprovalsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/count/count_request_builder.py index b2fb6af7342..d736863f6fe 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 490680872eb..0ddfd421af2 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentscheduleinstance-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py index 60efb30ace0..569f29ec7ba 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py index f195e5aa6b8..82e8cc76c1d 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py index 978ccee7457..0eca090c6f8 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/principal/principal_request_builder.py index 86d22fa9fa7..f8f6c7efbeb 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py index 7798c886683..d61263ee5f3 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py index 743d30a3bce..6bbe669a73d 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: UnifiedRoleAssignmentScheduleInstance, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentScheduleInstanc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentScheduleInstanceItemRequ param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py index 8e631ecb73a..439f657b78a 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_assignment_schedule_instance_id(self,unified_role_assignment param unified_role_assignment_schedule_instance_id: The unique identifier of unifiedRoleAssignmentScheduleInstance Returns: UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_schedule_instance_id is None: raise TypeError("unified_role_assignment_schedule_instance_id cannot be null.") from .item.unified_role_assignment_schedule_instance_item_request_builder import UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstanceCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleAssignmentScheduleInstance, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentScheduleInstance param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentScheduleInstancesRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentScheduleInstancesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentScheduleInstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/count/count_request_builder.py index da0bff88302..37084a588d2 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index bd1ec699d11..ddd6a6fa079 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py index d7dc8b42bfe..9b62d2553c0 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py index 755b37099a8..8c135ef275a 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py index a3f93b3201f..8cf99443e34 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/cancel/cancel_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-cancel?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py index bd35f8e650e..e8f63c1e0c9 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py index 2e7de809eed..72531cb8fd7 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py index 2510d2ae939..1d7b8047c97 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py index 6913d2ae11c..3a34dd0b881 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TargetSc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TargetScheduleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TargetScheduleRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TargetScheduleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py index 99e119548e6..be52f2d8807 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py @@ -43,6 +43,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -61,6 +62,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -82,6 +84,7 @@ async def patch(self,body: UnifiedRoleAssignmentScheduleRequest, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -104,6 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -114,6 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -126,6 +131,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentScheduleRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -140,6 +146,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentScheduleRequestItemReque param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentScheduleRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py index f6cbca8ce52..a42accc2149 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_assignment_schedule_request_id(self,unified_role_assignment_ param unified_role_assignment_schedule_request_id: The unique identifier of unifiedRoleAssignmentScheduleRequest Returns: UnifiedRoleAssignmentScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_schedule_request_id is None: raise TypeError("unified_role_assignment_schedule_request_id cannot be null.") from .item.unified_role_assignment_schedule_request_item_request_builder import UnifiedRoleAssignmentScheduleRequestItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequestCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleAssignmentScheduleRequest, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentScheduleRequest, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentScheduleRequestsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentScheduleRequestsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentScheduleRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/count/count_request_builder.py index 486db475a5e..6ad8b9c6df1 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index ddfe6320bed..51f9e34a5ac 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedule-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py index 98437b8950b..fafa59d6d49 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/activated_using/activated_using_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Activate param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> ActivatedUsingRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ActivatedUsingRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ActivatedUsingRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/app_scope/app_scope_request_builder.py index 85448724e74..089eb5a43e0 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py index 46cf8a7e269..86784441d83 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/principal/principal_request_builder.py index 51bc67aa679..18df04d28d4 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/role_definition/role_definition_request_builder.py index 55343302799..2c7e77ba9e4 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py index b8e91f252f8..995b27f5ada 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: UnifiedRoleAssignmentSchedule, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignmentSchedule, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentScheduleItemRequestBuild param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentScheduleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.py index 29c4c138385..965a85f3433 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_assignment_schedule_id(self,unified_role_assignment_schedule param unified_role_assignment_schedule_id: The unique identifier of unifiedRoleAssignmentSchedule Returns: UnifiedRoleAssignmentScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_schedule_id is None: raise TypeError("unified_role_assignment_schedule_id cannot be null.") from .item.unified_role_assignment_schedule_item_request_builder import UnifiedRoleAssignmentScheduleItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentScheduleCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleAssignmentSchedule, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentSchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignmentSchedule, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentSchedulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentSchedulesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentSchedulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/count/count_request_builder.py index da4fe1092b4..02c156a0e07 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py index 586e0377eff..2a4b2b3462b 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AppScope, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: AppScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/directory_scope/directory_scope_request_builder.py index 792d2105378..60f467dfd43 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/principal/principal_request_builder.py index 950ee323c94..831a66c582b 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/role_definition/role_definition_request_builder.py index bf8f4f21a60..fbcef3734d0 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.py index 176250fab88..681a772ab13 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleAssignment, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignment, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/role_assignments_request_builder.py index 6d56756b1fe..2770604209a 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_assignments/role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi param unified_role_assignment_id: The unique identifier of unifiedRoleAssignment Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_id is None: raise TypeError("unified_role_assignment_id cannot be null.") from .item.unified_role_assignment_item_request_builder import UnifiedRoleAssignmentItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi Returns: Optional[UnifiedRoleAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: UnifiedRoleAssignment, request_configuration: Optional Returns: Optional[UnifiedRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignments?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignment, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/count/count_request_builder.py index c8c3e3d54b6..87defb56ffd 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 4bd697f4c61..ba5018d4a59 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index 922c31dc8e9..a2a5a3d6300 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index 7316342764b..cd292ae74ec 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id1(self,unified_role_definition_id1: str) -> Uni param unified_role_definition_id1: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id1 is None: raise TypeError("unified_role_definition_id1 cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Inherits param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InheritsPermissionsFromRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InheritsPermissionsFromRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InheritsPermissionsFromRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 7d1fd256dde..1e20fb006ef 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index fe8e7d52476..7969079c8fd 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.py index 0f4b3ea20b5..44bc13b8d14 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -52,11 +53,12 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> Optional[UnifiedRoleDefinition]: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,16 +103,18 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) @@ -168,7 +175,7 @@ class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/role_definitions_request_builder.py index d1817b6beac..f77fec0878c 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_definitions/role_definitions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi param unified_role_definition_id: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id is None: raise TypeError("unified_role_definition_id cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi Returns: Optional[UnifiedRoleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/count/count_request_builder.py index 569d223f91e..67c910a25a7 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 16afa81b35c..a15a98a730a 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityscheduleinstance-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py index ace0f33984c..901b61be08c 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py index 9cb050395c7..6a7d8dd6d20 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/principal/principal_request_builder.py index 59e8d8d5cca..045da525952 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py index 0a121bb8552..dfba3a3ded8 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py index 95da991b011..f96dc42a6c6 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleEligibilityScheduleInstance, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoleEligibilityScheduleInstan param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleEligibilityScheduleInstanceItemReq param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py index d80956fa7f7..c1629b00499 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_eligibility_schedule_instance_id(self,unified_role_eligibili param unified_role_eligibility_schedule_instance_id: The unique identifier of unifiedRoleEligibilityScheduleInstance Returns: UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_eligibility_schedule_instance_id is None: raise TypeError("unified_role_eligibility_schedule_instance_id cannot be null.") from .item.unified_role_eligibility_schedule_instance_item_request_builder import UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleElig param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstanceCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleEligibilityScheduleInstance, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleInstance] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleEligibilityScheduleInstanc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleEligibilityScheduleInstancesRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: RoleEligibilityScheduleInstancesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleEligibilityScheduleInstancesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/count/count_request_builder.py index eaf37036d0a..1135014e2b5 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 002e96ef07f..9c6327dc222 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py index d005c9e75a1..cf83976d570 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py index 15dec681e2b..b423fbb4312 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/cancel/cancel_request_builder.py @@ -36,6 +36,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedulerequest-cancel?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_post_request_information( request_configuration ) @@ -54,6 +55,7 @@ def to_post_request_information(self,request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CancelRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CancelRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CancelRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py index 67614a05ccf..a7b4ba7202a 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/principal/principal_request_builder.py index 8d0cda86367..73c1d5fad5f 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py index 5eedd451d6b..b9502cc41e7 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py index cf8fc42bd53..edc16680361 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/target_schedule/target_schedule_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[TargetSc param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> TargetScheduleRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TargetScheduleRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TargetScheduleRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py index 38ecf3ee78e..9fcd1450b73 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.py @@ -42,6 +42,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: UnifiedRoleEligibilityScheduleRequest, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: UnifiedRoleEligibilityScheduleReques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleEligibilityScheduleRequestItemRequ param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleEligibilityScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleEligibilityScheduleRequestItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py index acf88c4b9d8..6e42e22b294 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_eligibility_schedule_request_id(self,unified_role_eligibilit param unified_role_eligibility_schedule_request_id: The unique identifier of unifiedRoleEligibilityScheduleRequest Returns: UnifiedRoleEligibilityScheduleRequestItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_eligibility_schedule_request_id is None: raise TypeError("unified_role_eligibility_schedule_request_id cannot be null.") from .item.unified_role_eligibility_schedule_request_item_request_builder import UnifiedRoleEligibilityScheduleRequestItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleElig param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequestCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleEligibilityScheduleRequest, request_configu param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleRequest] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleEligibilityScheduleRequest param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleEligibilityScheduleRequestsRequestBuilder param raw_url: The raw URL to use for the request builder. Returns: RoleEligibilityScheduleRequestsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleEligibilityScheduleRequestsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/count/count_request_builder.py index f3c8f522c5b..8d369c3c901 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py index 42be615b1d8..1a95392abe1 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/filter_by_current_user_with_on/filter_by_current_user_with_on_request_builder.py @@ -40,6 +40,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[FilterBy Returns: Optional[FilterByCurrentUserWithOnGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleeligibilityschedule-filterbycurrentuser?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -60,6 +61,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -71,6 +73,7 @@ def with_url(self,raw_url: str) -> FilterByCurrentUserWithOnRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return FilterByCurrentUserWithOnRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py index e208529554c..c46cb2015f3 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py index 1e8f7fcb861..8ec916fca14 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/principal/principal_request_builder.py index b0d7bc430bd..041cfea3566 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py index b0e5170f72a..a8eb7c44a66 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py index e37b3107339..6630a231741 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleEligibilitySchedule, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoleEligibilitySchedule, requ param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleEligibilityScheduleItemRequestBuil param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleEligibilityScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleEligibilityScheduleItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.py index 5e9713d04ee..ba08bc97677 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.py @@ -40,6 +40,7 @@ def by_unified_role_eligibility_schedule_id(self,unified_role_eligibility_schedu param unified_role_eligibility_schedule_id: The unique identifier of unifiedRoleEligibilitySchedule Returns: UnifiedRoleEligibilityScheduleItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_eligibility_schedule_id is None: raise TypeError("unified_role_eligibility_schedule_id cannot be null.") from .item.unified_role_eligibility_schedule_item_request_builder import UnifiedRoleEligibilityScheduleItemRequestBuilder @@ -54,6 +55,7 @@ def filter_by_current_user_with_on(self,on: str) -> FilterByCurrentUserWithOnReq param on: Usage: on='{on}' Returns: FilterByCurrentUserWithOnRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if on is None: raise TypeError("on cannot be null.") from .filter_by_current_user_with_on.filter_by_current_user_with_on_request_builder import FilterByCurrentUserWithOnRequestBuilder @@ -66,6 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleElig param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilityScheduleCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -87,6 +90,7 @@ async def post(self,body: UnifiedRoleEligibilitySchedule, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleEligibilitySchedule] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_post_request_information(self,body: UnifiedRoleEligibilitySchedule, reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> RoleEligibilitySchedulesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleEligibilitySchedulesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleEligibilitySchedulesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index 0f2b075ed2b..b17ba69fa07 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedule_instancesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleSche Returns: Optional[RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-rolescheduleinstances?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> RoleScheduleInstancesdirectoryScopeIdDirector param raw_url: The raw URL to use for the request builder. Returns: RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleScheduleInstancesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py index c97d3138447..0314a683df3 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id/role_schedulesdirectory_scope_id_directory_scope_id_app_scope_id_app_scope_id_principal_id_principal_id_role_definition_id_role_definition_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleSche Returns: Optional[RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-roleschedules?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> RoleSchedulesdirectoryScopeIdDirectoryScopeId param raw_url: The raw URL to use for the request builder. Returns: RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleSchedulesdirectoryScopeIdDirectoryScopeIdAppScopeIdAppScopeIdPrincipalIdPrincipalIdRoleDefinitionIdRoleDefinitionIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/count/count_request_builder.py index 4bd281d2aa2..c92de5d12b2 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/app_scope/app_scope_request_builder.py index d3c601d03e5..9241f6d9cf6 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AppScope, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: AppScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py index 98e7fc0dcaf..0a7127e142a 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/principal/principal_request_builder.py index 3a662a77602..f175b70fd72 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/role_definition/role_definition_request_builder.py index 7f0c2932c8f..d1dc2f687a3 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py index a16e176affb..e0809f999bc 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleAssignment, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignment, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/transitive_role_assignments_request_builder.py b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/transitive_role_assignments_request_builder.py index 9d1791323a1..37f4b9481f8 100644 --- a/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/transitive_role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/entitlement_management/transitive_role_assignments/transitive_role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi param unified_role_assignment_id: The unique identifier of unifiedRoleAssignment Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_id is None: raise TypeError("unified_role_assignment_id cannot be null.") from .item.unified_role_assignment_item_request_builder import UnifiedRoleAssignmentItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Transiti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleAssignment, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignment, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> TransitiveRoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TransitiveRoleAssignmentsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TransitiveRoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/count/count_request_builder.py index 8d268359119..bda9f240b43 100644 --- a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/custom_app_scopes_request_builder.py b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/custom_app_scopes_request_builder.py index d8339f13d01..503519233c1 100644 --- a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/custom_app_scopes_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/custom_app_scopes_request_builder.py @@ -39,6 +39,7 @@ def by_custom_app_scope_id(self,custom_app_scope_id: str) -> CustomAppScopeItemR param custom_app_scope_id: The unique identifier of customAppScope Returns: CustomAppScopeItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if custom_app_scope_id is None: raise TypeError("custom_app_scope_id cannot be null.") from .item.custom_app_scope_item_request_builder import CustomAppScopeItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomAp Returns: Optional[CustomAppScopeCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacapplication-list-customappscopes?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: CustomAppScope, request_configuration: Optional[Reques Returns: Optional[CustomAppScope] Find more info here: https://learn.microsoft.com/graph/api/unifiedrbacapplication-post-customappscope?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: CustomAppScope, request_configuration param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> CustomAppScopesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomAppScopesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomAppScopesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/item/custom_app_scope_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/item/custom_app_scope_item_request_builder.py index 648ed09dacb..c02fc1017db 100644 --- a/msgraph_beta/generated/role_management/exchange/custom_app_scopes/item/custom_app_scope_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/custom_app_scopes/item/custom_app_scope_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/customappscope-delete?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CustomAp Returns: Optional[CustomAppScope] Find more info here: https://learn.microsoft.com/graph/api/customappscope-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: CustomAppScope, request_configuration: Optional[Reque Returns: Optional[CustomAppScope] Find more info here: https://learn.microsoft.com/graph/api/customappscope-update?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,6 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -110,6 +114,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: CustomAppScope, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> CustomAppScopeItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CustomAppScopeItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CustomAppScopeItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/exchange_request_builder.py b/msgraph_beta/generated/role_management/exchange/exchange_request_builder.py index 2a97cf03156..f9807a60df3 100644 --- a/msgraph_beta/generated/role_management/exchange/exchange_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/exchange_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -59,6 +60,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Exchange param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacApplication] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -80,6 +82,7 @@ async def patch(self,body: UnifiedRbacApplication, request_configuration: Option param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacApplication] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -102,6 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -112,6 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -124,6 +129,7 @@ def to_patch_request_information(self,body: UnifiedRbacApplication, request_conf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -138,6 +144,7 @@ def with_url(self,raw_url: str) -> ExchangeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ExchangeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ExchangeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/count/count_request_builder.py index cb6793516bd..31ba4069524 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py index 6f181722705..450562e3782 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/import_resource_actions/import_resource_actions_request_builder.py @@ -38,6 +38,7 @@ async def post(self,body: ImportResourceActionsPostRequestBody, request_configur param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -61,6 +62,7 @@ def to_post_request_information(self,body: ImportResourceActionsPostRequestBody, param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -75,6 +77,7 @@ def with_url(self,raw_url: str) -> ImportResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ImportResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ImportResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/count/count_request_builder.py index dbedf6b892b..4b3043c095e 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py index 2c40ba406ba..b2702b7863f 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/authentication_context/authentication_context_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Authenti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AuthenticationContextClassReference] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> AuthenticationContextRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AuthenticationContextRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AuthenticationContextRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py index c372922d06f..abb8aba8647 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/resource_scope/resource_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: UnifiedRbacResourceScope, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceScope, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> ResourceScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py index 17018dd0f7b..e64899a49af 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceAction, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceAction, request_c param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceActionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceActionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/resource_actions_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/resource_actions_request_builder.py index 6555c929859..2f0a5ecba77 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/resource_actions_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/resource_actions/resource_actions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_action_id(self,unified_rbac_resource_action_id: str param unified_rbac_resource_action_id: The unique identifier of unifiedRbacResourceAction Returns: UnifiedRbacResourceActionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_action_id is None: raise TypeError("unified_rbac_resource_action_id cannot be null.") from .item.unified_rbac_resource_action_item_request_builder import UnifiedRbacResourceActionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceActionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceAction, request_configuration: Opti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceAction] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceAction, request_co param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceActionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceActionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceActionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py index feeeb5384a1..3ab554ef50c 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -56,6 +57,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -77,6 +79,7 @@ async def patch(self,body: UnifiedRbacResourceNamespace, request_configuration: param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -99,6 +102,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -109,6 +113,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -121,6 +126,7 @@ def to_patch_request_information(self,body: UnifiedRbacResourceNamespace, reques param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -135,6 +141,7 @@ def with_url(self,raw_url: str) -> UnifiedRbacResourceNamespaceItemRequestBuilde param raw_url: The raw URL to use for the request builder. Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRbacResourceNamespaceItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/resource_namespaces/resource_namespaces_request_builder.py b/msgraph_beta/generated/role_management/exchange/resource_namespaces/resource_namespaces_request_builder.py index 8dca37c25bd..034c79eb212 100644 --- a/msgraph_beta/generated/role_management/exchange/resource_namespaces/resource_namespaces_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/resource_namespaces/resource_namespaces_request_builder.py @@ -39,6 +39,7 @@ def by_unified_rbac_resource_namespace_id(self,unified_rbac_resource_namespace_i param unified_rbac_resource_namespace_id: The unique identifier of unifiedRbacResourceNamespace Returns: UnifiedRbacResourceNamespaceItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_rbac_resource_namespace_id is None: raise TypeError("unified_rbac_resource_namespace_id cannot be null.") from .item.unified_rbac_resource_namespace_item_request_builder import UnifiedRbacResourceNamespaceItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Resource param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespaceCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRbacResourceNamespace, request_configuration: O param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRbacResourceNamespace] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRbacResourceNamespace, request param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> ResourceNamespacesRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: ResourceNamespacesRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return ResourceNamespacesRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/count/count_request_builder.py index afd339dbedc..a173f99ee17 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/item/app_scope/app_scope_request_builder.py index d2b0bb82159..25a44a79202 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AppScope, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: AppScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/item/directory_scope/directory_scope_request_builder.py index 79007814b83..356ad4f6f8a 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/item/principal/principal_request_builder.py index bff6a4e2e26..0950eb7afbd 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/item/role_definition/role_definition_request_builder.py index e402669f55b..2e5b1f104ed 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/item/unified_role_assignment_item_request_builder.py index fb6bd808f99..9932f1d054b 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/item/unified_role_assignment_item_request_builder.py @@ -41,6 +41,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Returns: None Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignment-delete?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -60,6 +61,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR Returns: Optional[UnifiedRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/unifiedroleassignment-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -81,6 +83,7 @@ async def patch(self,body: UnifiedRoleAssignment, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -103,6 +106,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -113,6 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -125,6 +130,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignment, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -139,6 +145,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_assignments/role_assignments_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_assignments/role_assignments_request_builder.py index 06281f1431d..561a8f109b3 100644 --- a/msgraph_beta/generated/role_management/exchange/role_assignments/role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_assignments/role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi param unified_role_assignment_id: The unique identifier of unifiedRoleAssignment Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_id is None: raise TypeError("unified_role_assignment_id cannot be null.") from .item.unified_role_assignment_item_request_builder import UnifiedRoleAssignmentItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleAssi Returns: Optional[UnifiedRoleAssignmentCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roleassignments?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def post(self,body: UnifiedRoleAssignment, request_configuration: Optional Returns: Optional[UnifiedRoleAssignment] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-post-roleassignments?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -98,6 +101,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -110,6 +114,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignment, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -124,6 +129,7 @@ def with_url(self,raw_url: str) -> RoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleAssignmentsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/count/count_request_builder.py index 553167d13e8..2c3d3dd0860 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 79c75e48357..86cd4e35a04 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/count/count_request_builder.py index 5cc07956e5e..c99b91c94a8 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py index 8a04d12bd57..6e3b2c24363 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id1(self,unified_role_definition_id1: str) -> Uni param unified_role_definition_id1: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id1 is None: raise TypeError("unified_role_definition_id1 cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Inherits param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinitionCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> InheritsPermissionsFromRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: InheritsPermissionsFromRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return InheritsPermissionsFromRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py index 9928c3749ff..966e26d6180 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id/assigned_principals_with_transitivedirectory_scope_type_directory_scope_type_directory_scope_id_directory_scope_id_request_builder.py @@ -37,6 +37,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assigned Returns: Optional[AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-assignedprincipals?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -57,6 +58,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -68,6 +70,7 @@ def with_url(self,raw_url: str) -> AssignedPrincipalsWithTransitivedirectoryScop param raw_url: The raw URL to use for the request builder. Returns: AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py index b273d889241..7a950bb22b5 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.py @@ -37,6 +37,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -55,6 +56,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -76,6 +78,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -98,6 +101,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -108,6 +112,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -120,6 +125,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -134,6 +140,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/item/unified_role_definition_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/item/unified_role_definition_item_request_builder.py index dc627c7e159..a1531247721 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/item/unified_role_definition_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/item/unified_role_definition_item_request_builder.py @@ -38,6 +38,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -52,11 +53,12 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> Optional[UnifiedRoleDefinition]: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] Find more info here: https://learn.microsoft.com/graph/api/unifiedroledefinition-get?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -78,6 +80,7 @@ async def patch(self,body: UnifiedRoleDefinition, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -100,16 +103,18 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -122,6 +127,7 @@ def to_patch_request_information(self,body: UnifiedRoleDefinition, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -136,6 +142,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleDefinitionItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleDefinitionItemRequestBuilder(self.request_adapter, raw_url) @@ -168,7 +175,7 @@ class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online + Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/role_management/exchange/role_definitions/role_definitions_request_builder.py b/msgraph_beta/generated/role_management/exchange/role_definitions/role_definitions_request_builder.py index b3d667616b3..feddd6e864d 100644 --- a/msgraph_beta/generated/role_management/exchange/role_definitions/role_definitions_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/role_definitions/role_definitions_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_definition_id(self,unified_role_definition_id: str) -> Unifi param unified_role_definition_id: The unique identifier of unifiedRoleDefinition Returns: UnifiedRoleDefinitionItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_definition_id is None: raise TypeError("unified_role_definition_id cannot be null.") from .item.unified_role_definition_item_request_builder import UnifiedRoleDefinitionItemRequestBuilder @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi Returns: Optional[UnifiedRoleDefinitionCollectionResponse] Find more info here: https://learn.microsoft.com/graph/api/rbacapplication-list-roledefinitions?view=graph-rest-beta """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def post(self,body: UnifiedRoleDefinition, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -97,6 +100,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -109,6 +113,7 @@ def to_post_request_information(self,body: UnifiedRoleDefinition, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -123,6 +128,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/count/count_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/count/count_request_builder.py index aa3fe9f74c6..9f3331a5843 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/count/count_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/count/count_request_builder.py @@ -35,6 +35,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[CountReq param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[int] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -53,6 +54,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "text/plain;q=0.9") @@ -64,6 +66,7 @@ def with_url(self,raw_url: str) -> CountRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: CountRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return CountRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/app_scope/app_scope_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/app_scope/app_scope_request_builder.py index 3f05cf653e8..e5e179b53bc 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/app_scope/app_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/app_scope/app_scope_request_builder.py @@ -36,6 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -54,6 +55,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[AppScope param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -75,6 +77,7 @@ async def patch(self,body: AppScope, request_configuration: Optional[RequestConf param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppScope] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -97,6 +100,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -107,6 +111,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -119,6 +124,7 @@ def to_patch_request_information(self,body: AppScope, request_configuration: Opt param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -133,6 +139,7 @@ def with_url(self,raw_url: str) -> AppScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: AppScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return AppScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py index ad5829aca05..2f012ac00a2 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/directory_scope/directory_scope_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Director param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> DirectoryScopeRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: DirectoryScopeRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return DirectoryScopeRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/principal/principal_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/principal/principal_request_builder.py index 01e062a15df..9bac49812da 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/principal/principal_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/principal/principal_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Principa param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DirectoryObject] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> PrincipalRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: PrincipalRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return PrincipalRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/role_definition/role_definition_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/role_definition/role_definition_request_builder.py index f92bcadf922..2e99b75e675 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/role_definition/role_definition_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/role_definition/role_definition_request_builder.py @@ -36,6 +36,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleDefinition] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -56,6 +57,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -67,6 +69,7 @@ def with_url(self,raw_url: str) -> RoleDefinitionRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleDefinitionRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleDefinitionRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py index fafae6074ad..7e41540f47b 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/item/unified_role_assignment_item_request_builder.py @@ -40,6 +40,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: None """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_delete_request_information( request_configuration ) @@ -58,6 +59,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[UnifiedR param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -79,6 +81,7 @@ async def patch(self,body: UnifiedRoleAssignment, request_configuration: Optiona param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -101,6 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) request_info.configure(request_configuration) return request_info @@ -111,6 +115,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -123,6 +128,7 @@ def to_patch_request_information(self,body: UnifiedRoleAssignment, request_confi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -137,6 +143,7 @@ def with_url(self,raw_url: str) -> UnifiedRoleAssignmentItemRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return UnifiedRoleAssignmentItemRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/transitive_role_assignments_request_builder.py b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/transitive_role_assignments_request_builder.py index 709047fd846..95026bacc55 100644 --- a/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/transitive_role_assignments_request_builder.py +++ b/msgraph_beta/generated/role_management/exchange/transitive_role_assignments/transitive_role_assignments_request_builder.py @@ -39,6 +39,7 @@ def by_unified_role_assignment_id(self,unified_role_assignment_id: str) -> Unifi param unified_role_assignment_id: The unique identifier of unifiedRoleAssignment Returns: UnifiedRoleAssignmentItemRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if unified_role_assignment_id is None: raise TypeError("unified_role_assignment_id cannot be null.") from .item.unified_role_assignment_item_request_builder import UnifiedRoleAssignmentItemRequestBuilder @@ -53,6 +54,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Transiti param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignmentCollectionResponse] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -74,6 +76,7 @@ async def post(self,body: UnifiedRoleAssignment, request_configuration: Optional param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UnifiedRoleAssignment] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_post_request_information( @@ -96,6 +99,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -108,6 +112,7 @@ def to_post_request_information(self,body: UnifiedRoleAssignment, request_config param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.POST, self.url_template, self.path_parameters) @@ -122,6 +127,7 @@ def with_url(self,raw_url: str) -> TransitiveRoleAssignmentsRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: TransitiveRoleAssignmentsRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return TransitiveRoleAssignmentsRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/role_management/role_management_request_builder.py b/msgraph_beta/generated/role_management/role_management_request_builder.py index bd6309f9796..fb5bd8267e1 100644 --- a/msgraph_beta/generated/role_management/role_management_request_builder.py +++ b/msgraph_beta/generated/role_management/role_management_request_builder.py @@ -43,6 +43,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleMana param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleManagement] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = self.to_get_request_information( request_configuration ) @@ -64,6 +65,7 @@ async def patch(self,body: RoleManagement, request_configuration: Optional[Reque param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleManagement] """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = self.to_patch_request_information( @@ -86,6 +88,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) request_info = RequestInformation(Method.GET, self.url_template, self.path_parameters) request_info.configure(request_configuration) request_info.headers.try_add("Accept", "application/json") @@ -98,6 +101,7 @@ def to_patch_request_information(self,body: RoleManagement, request_configuratio param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if body is None: raise TypeError("body cannot be null.") request_info = RequestInformation(Method.PATCH, self.url_template, self.path_parameters) @@ -112,6 +116,7 @@ def with_url(self,raw_url: str) -> RoleManagementRequestBuilder: param raw_url: The raw URL to use for the request builder. Returns: RoleManagementRequestBuilder """ + warn("This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01", DeprecationWarning) if raw_url is None: raise TypeError("raw_url cannot be null.") return RoleManagementRequestBuilder(self.request_adapter, raw_url) diff --git a/msgraph_beta/generated/security/data_security_and_governance/protection_scopes/protection_scopes_request_builder.py b/msgraph_beta/generated/security/data_security_and_governance/protection_scopes/protection_scopes_request_builder.py index a28dc91ab3c..71f75dcc008 100644 --- a/msgraph_beta/generated/security/data_security_and_governance/protection_scopes/protection_scopes_request_builder.py +++ b/msgraph_beta/generated/security/data_security_and_governance/protection_scopes/protection_scopes_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ProtectionScopesRequestBuilderGetQueryParameters]] = None) -> Optional[TenantProtectionScopeContainer]: """ - Get protectionScopes from security + Container for actions related to computing tenant-wide data protection scopes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[TenantProtectionScopeContainer] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ProtectionScopesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get protectionScopes from security + Container for actions related to computing tenant-wide data protection scopes. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class ProtectionScopesRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class ProtectionScopesRequestBuilderGetQueryParameters(): """ - Get protectionScopes from security + Container for actions related to computing tenant-wide data protection scopes. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/sites/sites_request_builder.py b/msgraph_beta/generated/sites/sites_request_builder.py index 0d4c93e32f4..757b49cdd25 100644 --- a/msgraph_beta/generated/sites/sites_request_builder.py +++ b/msgraph_beta/generated/sites/sites_request_builder.py @@ -52,10 +52,10 @@ def by_site_id(self,site_id: str) -> SiteItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> Optional[SiteCollectionResponse]: """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[SiteCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/site-search?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -73,7 +73,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[SitesReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SitesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -140,7 +140,7 @@ def remove(self) -> RemoveRequestBuilder: @dataclass class SitesRequestBuilderGetQueryParameters(): """ - Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py index ac3915e8440..e9be8591663 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/attendance_reports_request_builder.py @@ -49,9 +49,10 @@ def by_meeting_attendance_report_id(self,meeting_attendance_report_id: str) -> M async def get(self,request_configuration: Optional[RequestConfiguration[AttendanceReportsRequestBuilderGetQueryParameters]] = None) -> Optional[MeetingAttendanceReportCollectionResponse]: """ - The attendance reports of an online meeting. Read-only. + Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReportCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-list?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +93,7 @@ async def post(self,body: MeetingAttendanceReport, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AttendanceReportsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The attendance reports of an online meeting. Read-only. + Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AttendanceReportsRequestBuilderGetQueryParameters(): """ - The attendance reports of an online meeting. Read-only. + Get a list of meetingAttendanceReport objects for an onlineMeeting or a virtualEvent. Each time an online meeting or a virtual event ends, an attendance report is generated for that session. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py index 611c742b5b9..2bcadb12f27 100644 --- a/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py +++ b/msgraph_beta/generated/solutions/virtual_events/townhalls/item/sessions/item/attendance_reports/item/meeting_attendance_report_item_request_builder.py @@ -51,9 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MeetingAttendanceReportItemRequestBuilderGetQueryParameters]] = None) -> Optional[MeetingAttendanceReport]: """ - The attendance reports of an online meeting. Read-only. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MeetingAttendanceReport] + Find more info here: https://learn.microsoft.com/graph/api/meetingattendancereport-get?view=graph-rest-beta """ request_info = self.to_get_request_information( request_configuration @@ -104,7 +105,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MeetingAttendanceReportItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - The attendance reports of an online meeting. Read-only. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -157,7 +158,7 @@ class MeetingAttendanceReportItemRequestBuilderDeleteRequestConfiguration(Reques @dataclass class MeetingAttendanceReportItemRequestBuilderGetQueryParameters(): """ - The attendance reports of an online meeting. Read-only. + Get the meetingAttendanceReport for an onlineMeeting or a virtualEvent. When an online meeting ends, an attendance report is generated for that session. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py b/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py index 7bad0a3c39e..f4f59057b85 100644 --- a/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph_beta/generated/teams/item/channels/item/members/item/conversation_member_item_request_builder.py @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Conversa async def patch(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: """ - Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Update the role of a conversationMember in a team.or channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ConversationMember] - Find more info here: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-beta + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-update?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Update the role of a conversationMember in a team.or channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/data_security_and_governance/activities/activities_request_builder.py b/msgraph_beta/generated/users/item/data_security_and_governance/activities/activities_request_builder.py index d7ba0457199..4915eb67a1f 100644 --- a/msgraph_beta/generated/users/item/data_security_and_governance/activities/activities_request_builder.py +++ b/msgraph_beta/generated/users/item/data_security_and_governance/activities/activities_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ActivitiesRequestBuilderGetQueryParameters]] = None) -> Optional[ActivitiesContainer]: """ - Get activities from users + Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ActivitiesContainer] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ActivitiesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get activities from users + Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -157,7 +157,7 @@ class ActivitiesRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Qu @dataclass class ActivitiesRequestBuilderGetQueryParameters(): """ - Get activities from users + Container for activity logs (content processing and audit) related to this user. ContainsTarget: true. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/data_security_and_governance/activities/content_activities/content_activities_request_builder.py b/msgraph_beta/generated/users/item/data_security_and_governance/activities/content_activities/content_activities_request_builder.py index 0d87c21654d..70962092556 100644 --- a/msgraph_beta/generated/users/item/data_security_and_governance/activities/content_activities/content_activities_request_builder.py +++ b/msgraph_beta/generated/users/item/data_security_and_governance/activities/content_activities/content_activities_request_builder.py @@ -49,7 +49,7 @@ def by_content_activity_id(self,content_activity_id: str) -> ContentActivityItem async def get(self,request_configuration: Optional[RequestConfiguration[ContentActivitiesRequestBuilderGetQueryParameters]] = None) -> Optional[ContentActivityCollectionResponse]: """ - Get contentActivities from users + Collection of activity logs related to content processing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentActivityCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: ContentActivity, request_configuration: Optional[Reque def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ContentActivitiesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get contentActivities from users + Collection of activity logs related to content processing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ContentActivitiesRequestBuilderGetQueryParameters(): """ - Get contentActivities from users + Collection of activity logs related to content processing. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/data_security_and_governance/activities/content_activities/item/content_activity_item_request_builder.py b/msgraph_beta/generated/users/item/data_security_and_governance/activities/content_activities/item/content_activity_item_request_builder.py index 2049443d39d..cd46768d867 100644 --- a/msgraph_beta/generated/users/item/data_security_and_governance/activities/content_activities/item/content_activity_item_request_builder.py +++ b/msgraph_beta/generated/users/item/data_security_and_governance/activities/content_activities/item/content_activity_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ContentActivityItemRequestBuilderGetQueryParameters]] = None) -> Optional[ContentActivity]: """ - Get contentActivities from users + Collection of activity logs related to content processing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ContentActivity] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ContentActivityItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get contentActivities from users + Collection of activity logs related to content processing. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class ContentActivityItemRequestBuilderDeleteRequestConfiguration(RequestConfigu @dataclass class ContentActivityItemRequestBuilderGetQueryParameters(): """ - Get contentActivities from users + Collection of activity logs related to content processing. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/data_security_and_governance/data_security_and_governance_request_builder.py b/msgraph_beta/generated/users/item/data_security_and_governance/data_security_and_governance_request_builder.py index 3302f087f75..63fc27a1de4 100644 --- a/msgraph_beta/generated/users/item/data_security_and_governance/data_security_and_governance_request_builder.py +++ b/msgraph_beta/generated/users/item/data_security_and_governance/data_security_and_governance_request_builder.py @@ -54,7 +54,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DataSecurityAndGovernanceRequestBuilderGetQueryParameters]] = None) -> Optional[UserDataSecurityAndGovernance]: """ - Get dataSecurityAndGovernance from users + The data security and governance settings for the user. Read-only. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserDataSecurityAndGovernance] """ @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DataSecurityAndGovernanceRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get dataSecurityAndGovernance from users + The data security and governance settings for the user. Read-only. Nullable. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -187,7 +187,7 @@ class DataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration(RequestC @dataclass class DataSecurityAndGovernanceRequestBuilderGetQueryParameters(): """ - Get dataSecurityAndGovernance from users + The data security and governance settings for the user. Read-only. Nullable. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/data_security_and_governance/process_content/process_content_request_builder.py b/msgraph_beta/generated/users/item/data_security_and_governance/process_content/process_content_request_builder.py index 232c253096f..4a7109e5097 100644 --- a/msgraph_beta/generated/users/item/data_security_and_governance/process_content/process_content_request_builder.py +++ b/msgraph_beta/generated/users/item/data_security_and_governance/process_content/process_content_request_builder.py @@ -33,10 +33,11 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, d async def post(self,body: ProcessContentPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ProcessContentResponse]: """ - Invoke action processContent + Process content against data protection policies in the context of the current user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ProcessContentResponse] + Find more info here: https://learn.microsoft.com/graph/api/userdatasecurityandgovernance-processcontent?view=graph-rest-beta """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +57,7 @@ async def post(self,body: ProcessContentPostRequestBody, request_configuration: def to_post_request_information(self,body: ProcessContentPostRequestBody, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Invoke action processContent + Process content against data protection policies in the context of the current user. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py index 7917c7e7e6a..abf05deefdb 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/app_log_collection_requests_request_builder.py @@ -49,7 +49,7 @@ def by_app_log_collection_request_id(self,app_log_collection_request_id: str) -> async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequestCollectionResponse]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequestCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: AppLogCollectionRequest, request_configuration: Option def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AppLogCollectionRequestsRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py index 506ba1321bc..cd849caff3e 100644 --- a/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py +++ b/msgraph_beta/generated/users/item/mobile_app_troubleshooting_events/item/app_log_collection_requests/item/app_log_collection_request_item_request_builder.py @@ -51,7 +51,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> Optional[AppLogCollectionRequest]: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AppLogCollectionRequest] """ @@ -104,7 +104,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AppLogCollectionRequestItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -157,7 +157,7 @@ class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfiguration(Reques @dataclass class AppLogCollectionRequestItemRequestBuilderGetQueryParameters(): """ - Indicates collection of App Log Upload Request. + The collection property of AppLogUploadRequest. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/ai_insights_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/ai_insights_request_builder.py index b3217c2b6bd..71b3a3728ad 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/ai_insights_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/ai_insights_request_builder.py @@ -49,7 +49,7 @@ def by_call_ai_insight_id(self,call_ai_insight_id: str) -> CallAiInsightItemRequ async def get(self,request_configuration: Optional[RequestConfiguration[AiInsightsRequestBuilderGetQueryParameters]] = None) -> Optional[CallAiInsightCollectionResponse]: """ - Get aiInsights from users + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallAiInsightCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: CallAiInsight, request_configuration: Optional[Request def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AiInsightsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get aiInsights from users + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -138,7 +138,7 @@ def count(self) -> CountRequestBuilder: @dataclass class AiInsightsRequestBuilderGetQueryParameters(): """ - Get aiInsights from users + The AI insights generated for an online meeting. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py b/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py index fc571357fe7..226b0d1d45b 100644 --- a/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py +++ b/msgraph_beta/generated/users/item/online_meetings/item/ai_insights/item/call_ai_insight_item_request_builder.py @@ -50,7 +50,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[CallAiInsightItemRequestBuilderGetQueryParameters]] = None) -> Optional[CallAiInsight]: """ - Get aiInsights from users + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[CallAiInsight] """ @@ -103,7 +103,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CallAiInsightItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get aiInsights from users + The AI insights generated for an online meeting. Read-only. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -147,7 +147,7 @@ class CallAiInsightItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class CallAiInsightItemRequestBuilderGetQueryParameters(): """ - Get aiInsights from users + The AI insights generated for an online meeting. Read-only. """ def get_query_parameter(self,original_name: str) -> str: """