diff --git a/msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py b/msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py index 684c95b881..a4347bc0c4 100644 --- a/msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py +++ b/msgraph/generated/chats/item/members/item/conversation_member_item_request_builder.py @@ -50,10 +50,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> Optional[ConversationMember]: """ - Retrieve a conversationMember from a chat or channel. + Retrieve a conversationMember from a chat. 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/conversationmember-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0 """ 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[ConversationMemberItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a conversationMember from a chat or channel. + Retrieve a conversationMember from a chat. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ class ConversationMemberItemRequestBuilderDeleteRequestConfiguration(RequestConf @dataclass class ConversationMemberItemRequestBuilderGetQueryParameters(): """ - Retrieve a conversationMember from a chat or channel. + Retrieve a conversationMember from a chat. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/chats/item/messages/messages_request_builder.py b/msgraph/generated/chats/item/messages/messages_request_builder.py index 6b7bed5ba9..4328251d58 100644 --- a/msgraph/generated/chats/item/messages/messages_request_builder.py +++ b/msgraph/generated/chats/item/messages/messages_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 """ 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: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + Send a new chatMessage in the specified channel or a chat. 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/generated/communications/calls/item/participants/invite/invite_request_builder.py b/msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py index 5d2c973916..dcd5ff3d46 100644 --- a/msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py +++ b/msgraph/generated/communications/calls/item/participants/invite/invite_request_builder.py @@ -32,11 +32,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]: """ - 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. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. 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-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +56,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: """ - 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. + Invite participants to the active call. For more information about how to handle operations, see commsOperation. 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/generated/device_app_management/device_app_management_request_builder.py b/msgraph/generated/device_app_management/device_app_management_request_builder.py index 42b24262c7..4895c38a40 100644 --- a/msgraph/generated/device_app_management/device_app_management_request_builder.py +++ b/msgraph/generated/device_app_management/device_app_management_request_builder.py @@ -71,7 +71,7 @@ async def patch(self,body: DeviceAppManagement, request_configuration: Optional[ param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceAppManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-unlock-deviceappmanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py index bad290a8fc..47461f9901 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.py @@ -35,7 +35,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti 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/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py index 9837cc4c16..e77fabd017 100644 --- a/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_policies/managed_app_policies_request_builder.py @@ -48,10 +48,10 @@ def by_managed_app_policy_id(self,managed_app_policy_id: str) -> ManagedAppPolic async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppPolicyCollectionResponse]: """ - List properties and relationships of the managedAppProtection objects. + List properties and relationships of the windowsInformationProtection objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppPolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-windowsinformationprotection-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: ManagedAppPolicy, request_configuration: Optional[Requ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppPoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedAppProtection objects. + List properties and relationships of the windowsInformationProtection objects. 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 ManagedAppPoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedAppProtection objects. + List properties and relationships of the windowsInformationProtection objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py index 7f5bdccf06..a5240ea67b 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.py @@ -35,7 +35,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti 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/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py index 5325c767f1..8071a277c7 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.py @@ -35,7 +35,7 @@ async def post(self,body: TargetAppsPostRequestBody, request_configuration: Opti 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/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py index 1bf0911e41..68cfb5a3c2 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/item/managed_app_registration_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[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistration]: """ - Read properties and relationships of the androidManagedAppRegistration object. + Read properties and relationships of the iosManagedAppRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppRegistration] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the androidManagedAppRegistration object. + Read properties and relationships of the iosManagedAppRegistration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -178,7 +178,7 @@ class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class ManagedAppRegistrationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the androidManagedAppRegistration object. + Read properties and relationships of the iosManagedAppRegistration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py b/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py index bee70d1a6e..4ccc77aceb 100644 --- a/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.py @@ -49,10 +49,10 @@ def by_managed_app_registration_id(self,managed_app_registration_id: str) -> Man async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppRegistrationCollectionResponse]: """ - List properties and relationships of the iosManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppRegistrationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -94,7 +94,7 @@ async def post(self,body: ManagedAppRegistration, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppRegistrationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -149,7 +149,7 @@ def get_user_ids_with_flagged_app_registration(self) -> GetUserIdsWithFlaggedApp @dataclass class ManagedAppRegistrationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosManagedAppRegistration objects. + List properties and relationships of the managedAppRegistration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py b/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py index 3e4e8583b0..61762dfdde 100644 --- a/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py +++ b/msgraph/generated/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.py @@ -48,10 +48,10 @@ def by_managed_app_status_id(self,managed_app_status_id: str) -> ManagedAppStatu async def get(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedAppStatusCollectionResponse]: """ - List properties and relationships of the managedAppStatus objects. + List properties and relationships of the managedAppStatusRaw objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedAppStatusCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -92,7 +92,7 @@ async def post(self,body: ManagedAppStatus, request_configuration: Optional[Requ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedAppStatusesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the managedAppStatus objects. + List properties and relationships of the managedAppStatusRaw objects. 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 ManagedAppStatusesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the managedAppStatus objects. + List properties and relationships of the managedAppStatusRaw objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py index ff3aecd64b..036fe0555a 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/assignments_request_builder.py @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Assignme async def post(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Create a new managedEBookAssignment object. + Create a new iosVppEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new managedEBookAssignment object. + Create a new iosVppEBookAssignment 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/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py index 707d91eeef..0f6236e8f6 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[ManagedE async def patch(self,body: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ManagedEBookAssignment]: """ - Update the properties of a iosVppEBookAssignment object. + Update the properties of a managedEBookAssignment object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookAssignment] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0 """ 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: ManagedEBookAssignment, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a iosVppEBookAssignment object. + Update the properties of a managedEBookAssignment 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/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py index 8cdd47cae2..94b2006557 100644 --- a/msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.py @@ -55,10 +55,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBookItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBook]: """ - Read properties and relationships of the managedEBook object. + Read properties and relationships of the iosVppEBook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBook] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -111,7 +111,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBookItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedEBook object. + Read properties and relationships of the iosVppEBook object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -200,7 +200,7 @@ class ManagedEBookItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class ManagedEBookItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedEBook object. + Read properties and relationships of the iosVppEBook object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py b/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py index 2981fe0fbf..d0ca8f3a4e 100644 --- a/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py +++ b/msgraph/generated/device_app_management/managed_e_books/managed_e_books_request_builder.py @@ -48,10 +48,10 @@ def by_managed_e_book_id(self,managed_e_book_id: str) -> ManagedEBookItemRequest async def get(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedEBookCollectionResponse]: """ - List properties and relationships of the iosVppEBook objects. + List properties and relationships of the managedEBook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedEBookCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-books-iosvppebook-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-books-managedebook-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedEBook, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedEBooksRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosVppEBook objects. + List properties and relationships of the managedEBook objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class ManagedEBooksRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosVppEBook objects. + List properties and relationships of the managedEBook objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py index 769ec4a201..4d17033228 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.py @@ -56,10 +56,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedDeviceMobileAppConfiguration]: """ - Read properties and relationships of the iosMobileAppConfiguration object. + Read properties and relationships of the managedDeviceMobileAppConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceMobileAppConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -112,7 +112,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the iosMobileAppConfiguration object. + Read properties and relationships of the managedDeviceMobileAppConfiguration object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -210,7 +210,7 @@ class ManagedDeviceMobileAppConfigurationItemRequestBuilderDeleteRequestConfigur @dataclass class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the iosMobileAppConfiguration object. + Read properties and relationships of the managedDeviceMobileAppConfiguration object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py b/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py index 516265eec7..253d74c623 100644 --- a/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.py @@ -48,10 +48,10 @@ def by_managed_device_mobile_app_configuration_id(self,managed_device_mobile_app async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[ManagedDeviceMobileAppConfigurationCollectionResponse]: """ - List properties and relationships of the iosMobileAppConfiguration objects. + List properties and relationships of the managedDeviceMobileAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ManagedDeviceMobileAppConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -93,7 +93,7 @@ async def post(self,body: ManagedDeviceMobileAppConfiguration, request_configura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosMobileAppConfiguration objects. + List properties and relationships of the managedDeviceMobileAppConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class MobileAppConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosMobileAppConfiguration objects. + List properties and relationships of the managedDeviceMobileAppConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py index 7744f429f0..710c610b28 100644 --- a/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/item/mobile_app_item_request_builder.py @@ -50,10 +50,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a windowsUniversalAppX. + Deletes a windowsMobileMSI. 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/intune-apps-windowsuniversalappx-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -69,10 +69,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> Optional[MobileApp]: """ - Read properties and relationships of the managedAndroidLobApp object. + Read properties and relationships of the macOSOfficeSuiteApp object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-managedandroidlobapp-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -90,11 +90,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def patch(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Update the properties of a windowsMicrosoftEdgeApp object. + Update the properties of a windowsWebApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowswebapp-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -114,7 +114,7 @@ async def patch(self,body: MobileApp, request_configuration: Optional[RequestCon def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a windowsUniversalAppX. + Deletes a windowsMobileMSI. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -125,7 +125,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the managedAndroidLobApp object. + Read properties and relationships of the macOSOfficeSuiteApp object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -136,7 +136,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a windowsMicrosoftEdgeApp object. + Update the properties of a windowsWebApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -340,7 +340,7 @@ class MobileAppItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration @dataclass class MobileAppItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the managedAndroidLobApp object. + Read properties and relationships of the macOSOfficeSuiteApp object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py index d129850f72..f4599b1cd2 100644 --- a/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py +++ b/msgraph/generated/device_app_management/mobile_apps/mobile_apps_request_builder.py @@ -64,10 +64,10 @@ def by_mobile_app_id(self,mobile_app_id: str) -> MobileAppItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> Optional[MobileAppCollectionResponse]: """ - List properties and relationships of the iosiPadOSWebClip objects. + List properties and relationships of the androidStoreApp objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileAppCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosipadoswebclip-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-androidstoreapp-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -85,11 +85,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MobileAp async def post(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[MobileApp]: """ - Create a new windowsMobileMSI object. + Create a new iosStoreApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[MobileApp] - Find more info here: https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -109,7 +109,7 @@ async def post(self,body: MobileApp, request_configuration: Optional[RequestConf def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[MobileAppsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the iosiPadOSWebClip objects. + List properties and relationships of the androidStoreApp objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: MobileApp, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new windowsMobileMSI object. + Create a new iosStoreApp object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -299,7 +299,7 @@ def graph_windows_web_app(self) -> GraphWindowsWebAppRequestBuilder: @dataclass class MobileAppsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the iosiPadOSWebClip objects. + List properties and relationships of the androidStoreApp objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py index 7576345eee..772fd17b5f 100644 --- a/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/device_compliance_policies_request_builder.py @@ -48,10 +48,10 @@ def by_device_compliance_policy_id(self,device_compliance_policy_id: str) -> Dev async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicyCollectionResponse]: """ - List properties and relationships of the macOSCompliancePolicy objects. + List properties and relationships of the windows81CompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicyCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Create a new androidWorkProfileCompliancePolicy object. + Create a new windows81CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceCompliancePolicy, request_configuration: Optiona def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePoliciesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the macOSCompliancePolicy objects. + List properties and relationships of the windows81CompliancePolicy objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new androidWorkProfileCompliancePolicy object. + Create a new windows81CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceCompliancePoliciesRequestBuilderGetQueryParameters(): """ - List properties and relationships of the macOSCompliancePolicy objects. + List properties and relationships of the windows81CompliancePolicy objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py index eeac6bd3a3..66420267fa 100644 --- a/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py +++ b/msgraph/generated/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.py @@ -40,10 +40,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a windowsPhone81CompliancePolicy. + Deletes a androidCompliancePolicy. 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/intune-deviceconfig-windowsphone81compliancepolicy-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcompliancepolicy-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -59,10 +59,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Read properties and relationships of the windowsPhone81CompliancePolicy object. + Read properties and relationships of the windows10CompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10compliancepolicy-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -80,11 +80,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def patch(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceCompliancePolicy]: """ - Update the properties of a iosCompliancePolicy object. + Update the properties of a windowsPhone81CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceCompliancePolicy] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81compliancepolicy-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -104,7 +104,7 @@ async def patch(self,body: DeviceCompliancePolicy, request_configuration: Option def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a windowsPhone81CompliancePolicy. + Deletes a androidCompliancePolicy. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -115,7 +115,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceCompliancePolicyItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the windowsPhone81CompliancePolicy object. + Read properties and relationships of the windows10CompliancePolicy object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceCompliancePolicy, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a iosCompliancePolicy object. + Update the properties of a windowsPhone81CompliancePolicy object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -240,7 +240,7 @@ class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration(Request @dataclass class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the windowsPhone81CompliancePolicy object. + Read properties and relationships of the windows10CompliancePolicy object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py index 0eeb9e1995..9ea14ed69b 100644 --- a/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/device_configurations_request_builder.py @@ -48,10 +48,10 @@ def by_device_configuration_id(self,device_configuration_id: str) -> DeviceConfi async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfigurationCollectionResponse]: """ - List properties and relationships of the windows10GeneralConfiguration objects. + List properties and relationships of the androidGeneralDeviceConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-androidgeneraldeviceconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceCo async def post(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Create a new iosCustomConfiguration object. + Create a new windows10EnterpriseModernAppManagementConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceConfiguration, request_configuration: Optional[R def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the windows10GeneralConfiguration objects. + List properties and relationships of the androidGeneralDeviceConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new iosCustomConfiguration object. + Create a new windows10EnterpriseModernAppManagementConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the windows10GeneralConfiguration objects. + List properties and relationships of the androidGeneralDeviceConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py index 7bb98c1139..3dbbb5632e 100644 --- a/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_configurations/item/device_configuration_item_request_builder.py @@ -39,10 +39,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a iosUpdateConfiguration. + Deletes a windows10SecureAssessmentConfiguration. 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/intune-deviceconfig-iosupdateconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Read properties and relationships of the sharedPCConfiguration object. + Read properties and relationships of the iosCertificateProfile object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-sharedpcconfiguration-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscertificateprofile-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -91,11 +91,11 @@ def get_oma_setting_plain_text_value_with_secret_reference_value_id(self,secret_ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceConfiguration]: """ - Update the properties of a macOSGeneralDeviceConfiguration object. + Update the properties of a windows10SecureAssessmentConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10secureassessmentconfiguration-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -115,7 +115,7 @@ async def patch(self,body: DeviceConfiguration, request_configuration: Optional[ def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a iosUpdateConfiguration. + Deletes a windows10SecureAssessmentConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -126,7 +126,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceConfigurationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the sharedPCConfiguration object. + Read properties and relationships of the iosCertificateProfile object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -137,7 +137,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a macOSGeneralDeviceConfiguration object. + Update the properties of a windows10SecureAssessmentConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -233,7 +233,7 @@ class DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration(RequestCon @dataclass class DeviceConfigurationItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the sharedPCConfiguration object. + Read properties and relationships of the iosCertificateProfile object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py index 73d73070de..f0cef14fb0 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.py @@ -48,10 +48,10 @@ def by_device_enrollment_configuration_id(self,device_enrollment_configuration_i async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> Optional[DeviceEnrollmentConfigurationCollectionResponse]: """ - List properties and relationships of the deviceEnrollmentConfiguration objects. + List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfigurationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentconfiguration-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Create a new deviceEnrollmentLimitConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceEnrollmentConfiguration objects. + List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Create a new deviceEnrollmentLimitConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceEnrollmentConfiguration objects. + List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py index 1a2fcd67a2..a64eba487d 100644 --- a/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py +++ b/msgraph/generated/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.py @@ -34,10 +34,10 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. 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/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -74,11 +74,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceEn async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeviceEnrollmentConfiguration]: """ - Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceEnrollmentConfiguration] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -98,7 +98,7 @@ async def patch(self,body: DeviceEnrollmentConfiguration, request_configuration: def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -120,7 +120,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: DeviceEnrollmentConfiguration, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object. + Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration 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/generated/device_management/device_management_request_builder.py b/msgraph/generated/device_management/device_management_request_builder.py index 051edad6f8..533c212954 100644 --- a/msgraph/generated/device_management/device_management_request_builder.py +++ b/msgraph/generated/device_management/device_management_request_builder.py @@ -95,7 +95,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[DeviceMa Read properties and relationships of the deviceManagement object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-reporting-devicemanagement-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-companyterms-devicemanagement-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -129,7 +129,7 @@ async def patch(self,body: DeviceManagement, request_configuration: Optional[Req param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[DeviceManagement] - Find more info here: https://learn.microsoft.com/graph/api/intune-auditing-devicemanagement-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-remoteassistance-devicemanagement-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") diff --git a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py index 147de21bab..9763346079 100644 --- a/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/item/role_definition_item_request_builder.py @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinition]: """ - Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + Read properties and relationships of the roleDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -72,11 +72,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi async def patch(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]: """ - Update the properties of a deviceAndAppManagementRoleDefinition object. + Update the properties of a roleDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + Read properties and relationships of the roleDefinition object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a deviceAndAppManagementRoleDefinition object. + Update the properties of a roleDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -160,7 +160,7 @@ class RoleDefinitionItemRequestBuilderDeleteRequestConfiguration(RequestConfigur @dataclass class RoleDefinitionItemRequestBuilderGetQueryParameters(): """ - Read properties and relationships of the deviceAndAppManagementRoleDefinition object. + Read properties and relationships of the roleDefinition object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py index b57ddc1b26..e060ffa0f1 100644 --- a/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py +++ b/msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py @@ -48,10 +48,10 @@ def by_role_definition_id(self,role_definition_id: str) -> RoleDefinitionItemReq async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> Optional[RoleDefinitionCollectionResponse]: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinitionCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -69,11 +69,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RoleDefi async def post(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[RoleDefinition]: """ - Create a new deviceAndAppManagementRoleDefinition object. + Create a new roleDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[RoleDefinition] - Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -93,7 +93,7 @@ async def post(self,body: RoleDefinition, request_configuration: Optional[Reques def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[RoleDefinitionsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -104,7 +104,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: RoleDefinition, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new deviceAndAppManagementRoleDefinition object. + Create a new roleDefinition object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -139,7 +139,7 @@ def count(self) -> CountRequestBuilder: @dataclass class RoleDefinitionsRequestBuilderGetQueryParameters(): """ - List properties and relationships of the deviceAndAppManagementRoleDefinition objects. + List properties and relationships of the roleDefinition objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py index 7549f42b34..a48af32884 100644 --- a/msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/tables/add/add_request_builder.py @@ -32,11 +32,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]: """ - Use this API to create a new Table. + 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 generated. 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/workbook-post-tables?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +56,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: """ - Use this API to create a new Table. + 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 generated. 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/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py index dcee438289..1057b1511c 100644 --- a/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py +++ b/msgraph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.py @@ -32,11 +32,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]: """ - Use this API to create a new Table. + 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 generated. 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/workbook-post-tables?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -56,7 +56,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: """ - Use this API to create a new Table. + 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 generated. 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/generated/groups/groups_request_builder.py b/msgraph/generated/groups/groups_request_builder.py index 46d3e872db..cca06138ef 100644 --- a/msgraph/generated/groups/groups_request_builder.py +++ b/msgraph/generated/groups/groups_request_builder.py @@ -73,11 +73,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[GroupsRe async def post(self,body: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Group]: """ - Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Group] - Find more info here: https://learn.microsoft.com/graph/api/group-post-groups?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -108,7 +108,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: Group, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. 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/generated/groups/item/conversations/conversations_request_builder.py b/msgraph/generated/groups/item/conversations/conversations_request_builder.py index da6f3c43a2..b967a41c85 100644 --- a/msgraph/generated/groups/item/conversations/conversations_request_builder.py +++ b/msgraph/generated/groups/item/conversations/conversations_request_builder.py @@ -69,11 +69,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. + 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-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -104,7 +104,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. + 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/generated/groups/item/conversations/item/conversation_item_request_builder.py b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py index 66757ccee7..c4719b1f2a 100644 --- a/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py +++ b/msgraph/generated/groups/item/conversations/item/conversation_item_request_builder.py @@ -35,7 +35,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Delete conversation. 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/conversation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -51,10 +51,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Conversation]: """ - Retrieve the properties and relationships of conversation object. + The group's conversations. 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/conversation-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -83,7 +83,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[ConversationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of conversation object. + The group's conversations. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -121,7 +121,7 @@ class ConversationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class ConversationItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of conversation object. + The group's conversations. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py index c0b4b2eaca..b8813e2685 100644 --- a/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/conversation_thread_item_request_builder.py @@ -36,7 +36,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query Delete conversationThread. 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/group-delete-thread?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration diff --git a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py index ec2fa4e99a..53417c96e5 100644 --- a/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py +++ b/msgraph/generated/groups/item/threads/item/posts/posts_request_builder.py @@ -47,10 +47,10 @@ def by_post_id(self,post_id: str) -> PostItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> Optional[PostCollectionResponse]: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PostCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PostsReq def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[PostsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. 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 PostsRequestBuilderGetQueryParameters(): """ - Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py index b4170289fc..cb3974786b 100644 --- a/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py +++ b/msgraph/generated/identity/conditional_access/named_locations/item/named_location_item_request_builder.py @@ -31,10 +31,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 countryNamedLocation object. + Delete an ipNamedLocation 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/countrynamedlocation-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[NamedLoc async def patch(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[NamedLocation]: """ - Update the properties of a countryNamedLocation object. + Update the properties of an ipNamedLocation object. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[NamedLocation] - Find more info here: https://learn.microsoft.com/graph/api/countrynamedlocation-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/ipnamedlocation-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -95,7 +95,7 @@ async def patch(self,body: NamedLocation, request_configuration: Optional[Reques def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a countryNamedLocation object. + Delete an ipNamedLocation object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: NamedLocation, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a countryNamedLocation object. + Update the properties of an ipNamedLocation 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/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py index 7c8bd110eb..380fb73993 100644 --- a/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py +++ b/msgraph/generated/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.py @@ -57,10 +57,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> Optional[AccessPackage]: """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[AccessPackage] - Find more info here: https://learn.microsoft.com/graph/api/accesspackage-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/accesspackage-list-resourcerolescopes?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -113,7 +113,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[AccessPackageItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -220,7 +220,7 @@ class AccessPackageItemRequestBuilderDeleteRequestConfiguration(RequestConfigura @dataclass class AccessPackageItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of an accessPackage object. + Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py b/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py index d519f8480f..9b871b2ce6 100644 --- a/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py +++ b/msgraph/generated/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.py @@ -53,10 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[AgreementItemRequestBuilderGetQueryParameters]] = None) -> Optional[Agreement]: """ - Retrieve the properties and relationships of an agreement object. + Retrieve all files related to an agreement. This includes the default file and all localized files. 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-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/agreement-list-files?view=graph-rest-1.0 """ 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 the properties and relationships of an agreement object. + Retrieve all files related to an agreement. This includes the default file and all localized files. 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 the properties and relationships of an agreement object. + Retrieve all files related to an agreement. This includes the default file and all localized files. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/kiota-dom-export.txt b/msgraph/generated/kiota-dom-export.txt index 0869fdcaad..e704c620ac 100644 --- a/msgraph/generated/kiota-dom-export.txt +++ b/msgraph/generated/kiota-dom-export.txt @@ -94837,6 +94837,9 @@ msgraph.generated.models.AppManagementPolicyCollectionResponse::|public|serializ msgraph.generated.models.AppManagementPolicyCollectionResponse::|public|value():List[AppManagementPolicy] msgraph.generated.models.AppManagementPolicyCollectionResponse::|public|value(value:List[AppManagementPolicy]):None msgraph.generated.models.AppManagementPolicyCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):AppManagementPolicyCollectionResponse +msgraph.generated.models.AppManagementRestrictionState::0000-Enabled +msgraph.generated.models.AppManagementRestrictionState::0001-Disabled +msgraph.generated.models.AppManagementRestrictionState::0002-UnknownFutureValue msgraph.generated.models.AppManagementServicePrincipalConfiguration-->AppManagementConfiguration msgraph.generated.models.AppManagementServicePrincipalConfiguration::|public|constructor():None msgraph.generated.models.AppManagementServicePrincipalConfiguration::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] @@ -100625,6 +100628,18 @@ msgraph.generated.models.ConditionalAccessApplications::|public|odata_type(value msgraph.generated.models.ConditionalAccessApplications::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.ConditionalAccessApplications::|static|public|create_from_discriminator_value(parse_node:ParseNode):ConditionalAccessApplications msgraph.generated.models.ConditionalAccessApplications~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.ConditionalAccessAuthenticationFlows::|public|additional_data():Dict[str, Any] +msgraph.generated.models.ConditionalAccessAuthenticationFlows::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.models.ConditionalAccessAuthenticationFlows::|public|backing_store:BackingStore +msgraph.generated.models.ConditionalAccessAuthenticationFlows::|public|constructor():None +msgraph.generated.models.ConditionalAccessAuthenticationFlows::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.ConditionalAccessAuthenticationFlows::|public|odata_type():str +msgraph.generated.models.ConditionalAccessAuthenticationFlows::|public|odata_type(value:str):None +msgraph.generated.models.ConditionalAccessAuthenticationFlows::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.ConditionalAccessAuthenticationFlows::|public|transfer_methods():ConditionalAccessTransferMethods +msgraph.generated.models.ConditionalAccessAuthenticationFlows::|public|transfer_methods(value:ConditionalAccessTransferMethods):None +msgraph.generated.models.ConditionalAccessAuthenticationFlows::|static|public|create_from_discriminator_value(parse_node:ParseNode):ConditionalAccessAuthenticationFlows +msgraph.generated.models.ConditionalAccessAuthenticationFlows~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.ConditionalAccessClientApp::0000-All msgraph.generated.models.ConditionalAccessClientApp::0001-Browser msgraph.generated.models.ConditionalAccessClientApp::0002-MobileAppsAndDesktopClients @@ -100652,6 +100667,8 @@ msgraph.generated.models.ConditionalAccessConditionSet::|public|additional_data( msgraph.generated.models.ConditionalAccessConditionSet::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.ConditionalAccessConditionSet::|public|applications():ConditionalAccessApplications msgraph.generated.models.ConditionalAccessConditionSet::|public|applications(value:ConditionalAccessApplications):None +msgraph.generated.models.ConditionalAccessConditionSet::|public|authentication_flows():ConditionalAccessAuthenticationFlows +msgraph.generated.models.ConditionalAccessConditionSet::|public|authentication_flows(value:ConditionalAccessAuthenticationFlows):None msgraph.generated.models.ConditionalAccessConditionSet::|public|backing_store:BackingStore msgraph.generated.models.ConditionalAccessConditionSet::|public|client_applications():ConditionalAccessClientApplications msgraph.generated.models.ConditionalAccessConditionSet::|public|client_applications(value:ConditionalAccessClientApplications):None @@ -100942,6 +100959,10 @@ msgraph.generated.models.ConditionalAccessTemplateCollectionResponse::|public|se msgraph.generated.models.ConditionalAccessTemplateCollectionResponse::|public|value():List[ConditionalAccessTemplate] msgraph.generated.models.ConditionalAccessTemplateCollectionResponse::|public|value(value:List[ConditionalAccessTemplate]):None msgraph.generated.models.ConditionalAccessTemplateCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):ConditionalAccessTemplateCollectionResponse +msgraph.generated.models.ConditionalAccessTransferMethods::0000-None_ +msgraph.generated.models.ConditionalAccessTransferMethods::0001-DeviceCodeFlow +msgraph.generated.models.ConditionalAccessTransferMethods::0002-AuthenticationTransfer +msgraph.generated.models.ConditionalAccessTransferMethods::0003-UnknownFutureValue msgraph.generated.models.ConditionalAccessUsers::|public|additional_data():Dict[str, Any] msgraph.generated.models.ConditionalAccessUsers::|public|additional_data(value:Dict[str, Any]):None msgraph.generated.models.ConditionalAccessUsers::|public|backing_store:BackingStore @@ -110462,6 +110483,8 @@ msgraph.generated.models.KeyCredentialConfiguration::|public|restriction_type(va msgraph.generated.models.KeyCredentialConfiguration::|public|restrict_for_apps_created_after_date_time():datetime.datetime msgraph.generated.models.KeyCredentialConfiguration::|public|restrict_for_apps_created_after_date_time(value:datetime.datetime):None msgraph.generated.models.KeyCredentialConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.KeyCredentialConfiguration::|public|state():AppManagementRestrictionState +msgraph.generated.models.KeyCredentialConfiguration::|public|state(value:AppManagementRestrictionState):None msgraph.generated.models.KeyCredentialConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):KeyCredentialConfiguration msgraph.generated.models.KeyCredentialConfiguration~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.KeyCredential~~>AdditionalDataHolder; BackedModel; Parsable @@ -115776,6 +115799,8 @@ msgraph.generated.models.PasswordCredentialConfiguration::|public|restriction_ty msgraph.generated.models.PasswordCredentialConfiguration::|public|restrict_for_apps_created_after_date_time():datetime.datetime msgraph.generated.models.PasswordCredentialConfiguration::|public|restrict_for_apps_created_after_date_time(value:datetime.datetime):None msgraph.generated.models.PasswordCredentialConfiguration::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.PasswordCredentialConfiguration::|public|state():AppManagementRestrictionState +msgraph.generated.models.PasswordCredentialConfiguration::|public|state(value:AppManagementRestrictionState):None msgraph.generated.models.PasswordCredentialConfiguration::|static|public|create_from_discriminator_value(parse_node:ParseNode):PasswordCredentialConfiguration msgraph.generated.models.PasswordCredentialConfiguration~~>AdditionalDataHolder; BackedModel; Parsable msgraph.generated.models.PasswordCredential~~>AdditionalDataHolder; BackedModel; Parsable @@ -122419,6 +122444,28 @@ msgraph.generated.models.security.DepartmentTemplateCollectionResponse::|public| msgraph.generated.models.security.DepartmentTemplateCollectionResponse::|public|value():List[DepartmentTemplate] msgraph.generated.models.security.DepartmentTemplateCollectionResponse::|public|value(value:List[DepartmentTemplate]):None msgraph.generated.models.security.DepartmentTemplateCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):DepartmentTemplateCollectionResponse +msgraph.generated.models.security.DeploymentAccessKeyType::|public|additional_data():Dict[str, Any] +msgraph.generated.models.security.DeploymentAccessKeyType::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.models.security.DeploymentAccessKeyType::|public|backing_store:BackingStore +msgraph.generated.models.security.DeploymentAccessKeyType::|public|constructor():None +msgraph.generated.models.security.DeploymentAccessKeyType::|public|deployment_access_key():str +msgraph.generated.models.security.DeploymentAccessKeyType::|public|deployment_access_key(value:str):None +msgraph.generated.models.security.DeploymentAccessKeyType::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.security.DeploymentAccessKeyType::|public|odata_type():str +msgraph.generated.models.security.DeploymentAccessKeyType::|public|odata_type(value:str):None +msgraph.generated.models.security.DeploymentAccessKeyType::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.security.DeploymentAccessKeyType::|static|public|create_from_discriminator_value(parse_node:ParseNode):DeploymentAccessKeyType +msgraph.generated.models.security.DeploymentAccessKeyType~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.security.DeploymentStatus::0000-UpToDate +msgraph.generated.models.security.DeploymentStatus::0001-Outdated +msgraph.generated.models.security.DeploymentStatus::0002-Updating +msgraph.generated.models.security.DeploymentStatus::0003-UpdateFailed +msgraph.generated.models.security.DeploymentStatus::0004-NotConfigured +msgraph.generated.models.security.DeploymentStatus::0005-Unreachable +msgraph.generated.models.security.DeploymentStatus::0006-Disconnected +msgraph.generated.models.security.DeploymentStatus::0007-StartFailure +msgraph.generated.models.security.DeploymentStatus::0008-Syncing +msgraph.generated.models.security.DeploymentStatus::0009-UnknownFutureValue msgraph.generated.models.security.DetectionSource::0000-Unknown msgraph.generated.models.security.DetectionSource::0001-MicrosoftDefenderForEndpoint msgraph.generated.models.security.DetectionSource::0002-Antivirus @@ -122884,6 +122931,12 @@ msgraph.generated.models.security.EvidenceRemediationStatus::0002-Prevented msgraph.generated.models.security.EvidenceRemediationStatus::0003-Blocked msgraph.generated.models.security.EvidenceRemediationStatus::0004-NotFound msgraph.generated.models.security.EvidenceRemediationStatus::0005-UnknownFutureValue +msgraph.generated.models.security.EvidenceRemediationStatus::0006-Active +msgraph.generated.models.security.EvidenceRemediationStatus::0007-PendingApproval +msgraph.generated.models.security.EvidenceRemediationStatus::0008-Declined +msgraph.generated.models.security.EvidenceRemediationStatus::0009-Unremediated +msgraph.generated.models.security.EvidenceRemediationStatus::0010-Running +msgraph.generated.models.security.EvidenceRemediationStatus::0011-PartiallyRemediated msgraph.generated.models.security.EvidenceRole::0000-Unknown msgraph.generated.models.security.EvidenceRole::0001-Contextual msgraph.generated.models.security.EvidenceRole::0002-Scanned @@ -123638,6 +123691,8 @@ msgraph.generated.models.security.IdentityContainer::|public|get_field_deseriali msgraph.generated.models.security.IdentityContainer::|public|health_issues():List[HealthIssue] msgraph.generated.models.security.IdentityContainer::|public|health_issues(value:List[HealthIssue]):None msgraph.generated.models.security.IdentityContainer::|public|odata_type:str +msgraph.generated.models.security.IdentityContainer::|public|sensors():List[Sensor] +msgraph.generated.models.security.IdentityContainer::|public|sensors(value:List[Sensor]):None msgraph.generated.models.security.IdentityContainer::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.security.IdentityContainer::|static|public|create_from_discriminator_value(parse_node:ParseNode):IdentityContainer msgraph.generated.models.security.Incident-->Entity @@ -124113,6 +124168,16 @@ msgraph.generated.models.security.MalwareEvidence::|public|processes():List[Proc msgraph.generated.models.security.MalwareEvidence::|public|processes(value:List[ProcessEvidence]):None msgraph.generated.models.security.MalwareEvidence::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.security.MalwareEvidence::|static|public|create_from_discriminator_value(parse_node:ParseNode):MalwareEvidence +msgraph.generated.models.security.NetworkAdapter-->Entity +msgraph.generated.models.security.NetworkAdapter::|public|constructor():None +msgraph.generated.models.security.NetworkAdapter::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.security.NetworkAdapter::|public|is_enabled():bool +msgraph.generated.models.security.NetworkAdapter::|public|is_enabled(value:bool):None +msgraph.generated.models.security.NetworkAdapter::|public|name():str +msgraph.generated.models.security.NetworkAdapter::|public|name(value:str):None +msgraph.generated.models.security.NetworkAdapter::|public|odata_type:str +msgraph.generated.models.security.NetworkAdapter::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.security.NetworkAdapter::|static|public|create_from_discriminator_value(parse_node:ParseNode):NetworkAdapter msgraph.generated.models.security.NetworkConnectionEvidence-->AlertEvidence msgraph.generated.models.security.NetworkConnectionEvidence::|public|constructor():None msgraph.generated.models.security.NetworkConnectionEvidence::|public|destination_address():IpEvidence @@ -124525,6 +124590,82 @@ msgraph.generated.models.security.SecurityGroupEvidence::|public|security_group_ msgraph.generated.models.security.SecurityGroupEvidence::|public|security_group_id(value:str):None msgraph.generated.models.security.SecurityGroupEvidence::|public|serialize(writer:SerializationWriter):None msgraph.generated.models.security.SecurityGroupEvidence::|static|public|create_from_discriminator_value(parse_node:ParseNode):SecurityGroupEvidence +msgraph.generated.models.security.Sensor-->Entity +msgraph.generated.models.security.Sensor::|public|constructor():None +msgraph.generated.models.security.Sensor::|public|created_date_time():datetime.datetime +msgraph.generated.models.security.Sensor::|public|created_date_time(value:datetime.datetime):None +msgraph.generated.models.security.Sensor::|public|deployment_status():DeploymentStatus +msgraph.generated.models.security.Sensor::|public|deployment_status(value:DeploymentStatus):None +msgraph.generated.models.security.Sensor::|public|display_name():str +msgraph.generated.models.security.Sensor::|public|display_name(value:str):None +msgraph.generated.models.security.Sensor::|public|domain_name():str +msgraph.generated.models.security.Sensor::|public|domain_name(value:str):None +msgraph.generated.models.security.Sensor::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.security.Sensor::|public|health_issues():List[HealthIssue] +msgraph.generated.models.security.Sensor::|public|health_issues(value:List[HealthIssue]):None +msgraph.generated.models.security.Sensor::|public|health_status():SensorHealthStatus +msgraph.generated.models.security.Sensor::|public|health_status(value:SensorHealthStatus):None +msgraph.generated.models.security.Sensor::|public|odata_type:str +msgraph.generated.models.security.Sensor::|public|open_health_issues_count():int +msgraph.generated.models.security.Sensor::|public|open_health_issues_count(value:int):None +msgraph.generated.models.security.Sensor::|public|sensor_type():SensorType +msgraph.generated.models.security.Sensor::|public|sensor_type(value:SensorType):None +msgraph.generated.models.security.Sensor::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.security.Sensor::|public|settings():SensorSettings +msgraph.generated.models.security.Sensor::|public|settings(value:SensorSettings):None +msgraph.generated.models.security.Sensor::|public|version():str +msgraph.generated.models.security.Sensor::|public|version(value:str):None +msgraph.generated.models.security.Sensor::|static|public|create_from_discriminator_value(parse_node:ParseNode):Sensor +msgraph.generated.models.security.SensorCollectionResponse-->BaseCollectionPaginationCountResponse +msgraph.generated.models.security.SensorCollectionResponse::|public|constructor():None +msgraph.generated.models.security.SensorCollectionResponse::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.security.SensorCollectionResponse::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.security.SensorCollectionResponse::|public|value():List[Sensor] +msgraph.generated.models.security.SensorCollectionResponse::|public|value(value:List[Sensor]):None +msgraph.generated.models.security.SensorCollectionResponse::|static|public|create_from_discriminator_value(parse_node:ParseNode):SensorCollectionResponse +msgraph.generated.models.security.SensorDeploymentPackage::|public|additional_data():Dict[str, Any] +msgraph.generated.models.security.SensorDeploymentPackage::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.models.security.SensorDeploymentPackage::|public|backing_store:BackingStore +msgraph.generated.models.security.SensorDeploymentPackage::|public|constructor():None +msgraph.generated.models.security.SensorDeploymentPackage::|public|download_url():str +msgraph.generated.models.security.SensorDeploymentPackage::|public|download_url(value:str):None +msgraph.generated.models.security.SensorDeploymentPackage::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.security.SensorDeploymentPackage::|public|odata_type():str +msgraph.generated.models.security.SensorDeploymentPackage::|public|odata_type(value:str):None +msgraph.generated.models.security.SensorDeploymentPackage::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.security.SensorDeploymentPackage::|public|version():str +msgraph.generated.models.security.SensorDeploymentPackage::|public|version(value:str):None +msgraph.generated.models.security.SensorDeploymentPackage::|static|public|create_from_discriminator_value(parse_node:ParseNode):SensorDeploymentPackage +msgraph.generated.models.security.SensorDeploymentPackage~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.security.SensorHealthStatus::0000-Healthy +msgraph.generated.models.security.SensorHealthStatus::0001-NotHealthyLow +msgraph.generated.models.security.SensorHealthStatus::0002-NotHealthyMedium +msgraph.generated.models.security.SensorHealthStatus::0003-NotHealthyHigh +msgraph.generated.models.security.SensorHealthStatus::0004-UnknownFutureValue +msgraph.generated.models.security.SensorSettings::|public|additional_data():Dict[str, Any] +msgraph.generated.models.security.SensorSettings::|public|additional_data(value:Dict[str, Any]):None +msgraph.generated.models.security.SensorSettings::|public|backing_store:BackingStore +msgraph.generated.models.security.SensorSettings::|public|constructor():None +msgraph.generated.models.security.SensorSettings::|public|description():str +msgraph.generated.models.security.SensorSettings::|public|description(value:str):None +msgraph.generated.models.security.SensorSettings::|public|domain_controller_dns_names():List[str] +msgraph.generated.models.security.SensorSettings::|public|domain_controller_dns_names(value:List[str]):None +msgraph.generated.models.security.SensorSettings::|public|get_field_deserializers():Dict[str, Callable[[ParseNode], None]] +msgraph.generated.models.security.SensorSettings::|public|is_delayed_deployment_enabled():bool +msgraph.generated.models.security.SensorSettings::|public|is_delayed_deployment_enabled(value:bool):None +msgraph.generated.models.security.SensorSettings::|public|network_adapters():List[NetworkAdapter] +msgraph.generated.models.security.SensorSettings::|public|network_adapters(value:List[NetworkAdapter]):None +msgraph.generated.models.security.SensorSettings::|public|odata_type():str +msgraph.generated.models.security.SensorSettings::|public|odata_type(value:str):None +msgraph.generated.models.security.SensorSettings::|public|serialize(writer:SerializationWriter):None +msgraph.generated.models.security.SensorSettings::|static|public|create_from_discriminator_value(parse_node:ParseNode):SensorSettings +msgraph.generated.models.security.SensorSettings~~>AdditionalDataHolder; BackedModel; Parsable +msgraph.generated.models.security.SensorType::0000-AdConnectIntegrated +msgraph.generated.models.security.SensorType::0001-AdcsIntegrated +msgraph.generated.models.security.SensorType::0002-AdfsIntegrated +msgraph.generated.models.security.SensorType::0003-DomainControllerIntegrated +msgraph.generated.models.security.SensorType::0004-DomainControllerStandalone +msgraph.generated.models.security.SensorType::0005-UnknownFutureValue msgraph.generated.models.security.ServicePrincipalEvidence-->AlertEvidence msgraph.generated.models.security.ServicePrincipalEvidence::|public|app_id():str msgraph.generated.models.security.ServicePrincipalEvidence::|public|app_id(value:str):None @@ -148678,11 +148819,140 @@ msgraph.generated.security.identities.IdentitiesRequestBuilder::|public|health_i msgraph.generated.security.identities.IdentitiesRequestBuilder::|public|patch(body:IdentityContainer; request_configuration?:RequestConfiguration[QueryParameters]):IdentityContainer msgraph.generated.security.identities.IdentitiesRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] msgraph.generated.security.identities.IdentitiesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.identities.IdentitiesRequestBuilder::|public|sensors:SensorsRequestBuilder msgraph.generated.security.identities.IdentitiesRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.security.identities.IdentitiesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[IdentitiesRequestBuilderGetQueryParameters]):RequestInformation msgraph.generated.security.identities.IdentitiesRequestBuilder::|public|to_patch_request_information(body:IdentityContainer; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation msgraph.generated.security.identities.IdentitiesRequestBuilder::|public|url_template:str msgraph.generated.security.identities.IdentitiesRequestBuilder::|public|with_url(raw_url:str):IdentitiesRequestBuilder +msgraph.generated.security.identities.sensors.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.security.identities.sensors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.security.identities.sensors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.security.identities.sensors.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.security.identities.sensors.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.security.identities.sensors.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.security.identities.sensors.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.security.identities.sensors.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.security.identities.sensors.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.identities.sensors.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.security.identities.sensors.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder-->BaseRequestBuilder +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration[CountRequestBuilderGetQueryParameters] +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder::|public|get(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):int +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[CountRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder::|public|url_template:str +msgraph.generated.security.identities.sensors.item.healthIssues.count.CountRequestBuilder::|public|with_url(raw_url:str):CountRequestBuilder +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder-->BaseRequestBuilder +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder.HealthIssuesRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder.HealthIssuesRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder.HealthIssuesRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder.HealthIssuesRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder.HealthIssuesRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder.HealthIssuesRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder.HealthIssuesRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder.HealthIssuesRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder.HealthIssuesRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder.HealthIssuesRequestBuilderGetRequestConfiguration-->RequestConfiguration[HealthIssuesRequestBuilderGetQueryParameters] +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder::|public|by_health_issue_id(health_issue_id:str):HealthIssueItemRequestBuilder +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder::|public|get(request_configuration?:RequestConfiguration[HealthIssuesRequestBuilderGetQueryParameters]):HealthIssueCollectionResponse +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[HealthIssuesRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder::|public|url_template:str +msgraph.generated.security.identities.sensors.item.healthIssues.HealthIssuesRequestBuilder::|public|with_url(raw_url:str):HealthIssuesRequestBuilder +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder-->BaseRequestBuilder +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder.HealthIssueItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder.HealthIssueItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder.HealthIssueItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder.HealthIssueItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[HealthIssueItemRequestBuilderGetQueryParameters] +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[HealthIssueItemRequestBuilderGetQueryParameters]):HealthIssue +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[HealthIssueItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder::|public|url_template:str +msgraph.generated.security.identities.sensors.item.healthIssues.item.HealthIssueItemRequestBuilder::|public|with_url(raw_url:str):HealthIssueItemRequestBuilder +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder-->BaseRequestBuilder +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder.SensorItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder.SensorItemRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder.SensorItemRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder.SensorItemRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder.SensorItemRequestBuilderGetRequestConfiguration-->RequestConfiguration[SensorItemRequestBuilderGetQueryParameters] +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder.SensorItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|delete(request_configuration?:RequestConfiguration[QueryParameters]):None +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SensorItemRequestBuilderGetQueryParameters]):Sensor +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|health_issues:HealthIssuesRequestBuilder +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|patch(body:Sensor; request_configuration?:RequestConfiguration[QueryParameters]):Sensor +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|to_delete_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SensorItemRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|to_patch_request_information(body:Sensor; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|url_template:str +msgraph.generated.security.identities.sensors.item.SensorItemRequestBuilder::|public|with_url(raw_url:str):SensorItemRequestBuilder +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentAccessKey.MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder-->BaseRequestBuilder +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentAccessKey.MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder.MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentAccessKey.MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentAccessKey.MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):DeploymentAccessKeyType +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentAccessKey.MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentAccessKey.MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentAccessKey.MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentAccessKey.MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|url_template:str +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentAccessKey.MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentPackageUri.MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder-->BaseRequestBuilder +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentPackageUri.MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder.MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderGetRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentPackageUri.MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentPackageUri.MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|get(request_configuration?:RequestConfiguration[QueryParameters]):SensorDeploymentPackage +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentPackageUri.MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentPackageUri.MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentPackageUri.MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentPackageUri.MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|url_template:str +msgraph.generated.security.identities.sensors.microsoftGraphSecurityGetDeploymentPackageUri.MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder +msgraph.generated.security.identities.sensors.microsoftGraphSecurityRegenerateDeploymentAccessKey.MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder-->BaseRequestBuilder +msgraph.generated.security.identities.sensors.microsoftGraphSecurityRegenerateDeploymentAccessKey.MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder.MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.security.identities.sensors.microsoftGraphSecurityRegenerateDeploymentAccessKey.MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.security.identities.sensors.microsoftGraphSecurityRegenerateDeploymentAccessKey.MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.security.identities.sensors.microsoftGraphSecurityRegenerateDeploymentAccessKey.MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|post(request_configuration?:RequestConfiguration[QueryParameters]):DeploymentAccessKeyType +msgraph.generated.security.identities.sensors.microsoftGraphSecurityRegenerateDeploymentAccessKey.MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.identities.sensors.microsoftGraphSecurityRegenerateDeploymentAccessKey.MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|to_post_request_information(request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.microsoftGraphSecurityRegenerateDeploymentAccessKey.MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|url_template:str +msgraph.generated.security.identities.sensors.microsoftGraphSecurityRegenerateDeploymentAccessKey.MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder::|public|with_url(raw_url:str):MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder +msgraph.generated.security.identities.sensors.SensorsRequestBuilder-->BaseRequestBuilder +msgraph.generated.security.identities.sensors.SensorsRequestBuilder.SensorsRequestBuilderGetQueryParameters::|public|count:bool +msgraph.generated.security.identities.sensors.SensorsRequestBuilder.SensorsRequestBuilderGetQueryParameters::|public|expand:List[str] +msgraph.generated.security.identities.sensors.SensorsRequestBuilder.SensorsRequestBuilderGetQueryParameters::|public|filter:str +msgraph.generated.security.identities.sensors.SensorsRequestBuilder.SensorsRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str +msgraph.generated.security.identities.sensors.SensorsRequestBuilder.SensorsRequestBuilderGetQueryParameters::|public|orderby:List[str] +msgraph.generated.security.identities.sensors.SensorsRequestBuilder.SensorsRequestBuilderGetQueryParameters::|public|search:str +msgraph.generated.security.identities.sensors.SensorsRequestBuilder.SensorsRequestBuilderGetQueryParameters::|public|select:List[str] +msgraph.generated.security.identities.sensors.SensorsRequestBuilder.SensorsRequestBuilderGetQueryParameters::|public|skip:int +msgraph.generated.security.identities.sensors.SensorsRequestBuilder.SensorsRequestBuilderGetQueryParameters::|public|top:int +msgraph.generated.security.identities.sensors.SensorsRequestBuilder.SensorsRequestBuilderGetRequestConfiguration-->RequestConfiguration[SensorsRequestBuilderGetQueryParameters] +msgraph.generated.security.identities.sensors.SensorsRequestBuilder.SensorsRequestBuilderPostRequestConfiguration-->RequestConfiguration[QueryParameters] +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|by_sensor_id(sensor_id:str):SensorItemRequestBuilder +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|constructor(path_parameters:Union[str, Dict[str, Any]]; request_adapter:RequestAdapter):None +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|count:CountRequestBuilder +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|get(request_configuration?:RequestConfiguration[SensorsRequestBuilderGetQueryParameters]):SensorCollectionResponse +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|microsoft_graph_security_get_deployment_access_key:MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|microsoft_graph_security_get_deployment_package_uri:MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|microsoft_graph_security_regenerate_deployment_access_key:MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|path_parameters:Union[str, Dict[str, Any]] +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|post(body:Sensor; request_configuration?:RequestConfiguration[QueryParameters]):Sensor +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|request_adapter:RequestAdapter +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|to_get_request_information(request_configuration?:RequestConfiguration[SensorsRequestBuilderGetQueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|to_post_request_information(body:Sensor; request_configuration?:RequestConfiguration[QueryParameters]):RequestInformation +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|url_template:str +msgraph.generated.security.identities.sensors.SensorsRequestBuilder::|public|with_url(raw_url:str):SensorsRequestBuilder msgraph.generated.security.incidents.count.CountRequestBuilder-->BaseRequestBuilder msgraph.generated.security.incidents.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|filter:str msgraph.generated.security.incidents.count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|get_query_parameter(original_name:str):str diff --git a/msgraph/generated/kiota-lock.json b/msgraph/generated/kiota-lock.json index 7c7989f9cd..b10a14c817 100644 --- a/msgraph/generated/kiota-lock.json +++ b/msgraph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "909EF057E40AC744A18C7CD5455D660EFC55491D3B63C22323530B88453DF44C26EEF48273588B8EB1CF43487AADA87ECB563D1906AA06633040285E38DE5A3B", + "descriptionHash": "40F7E809DAB5A8CD74C54B0838FB352CC3CA08F14C087BCABEA87C73A3912985E5A29497367213728E27D7EE587297AA3C8BE29E13758F967F5AC2A1E568A4A9", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.21.0", diff --git a/msgraph/generated/models/app_management_restriction_state.py b/msgraph/generated/models/app_management_restriction_state.py new file mode 100644 index 0000000000..ae94fda02b --- /dev/null +++ b/msgraph/generated/models/app_management_restriction_state.py @@ -0,0 +1,7 @@ +from enum import Enum + +class AppManagementRestrictionState(str, Enum): + Enabled = "enabled", + Disabled = "disabled", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/models/conditional_access_authentication_flows.py b/msgraph/generated/models/conditional_access_authentication_flows.py new file mode 100644 index 0000000000..5c12f94138 --- /dev/null +++ b/msgraph/generated/models/conditional_access_authentication_flows.py @@ -0,0 +1,62 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .conditional_access_transfer_methods import ConditionalAccessTransferMethods + +@dataclass +class ConditionalAccessAuthenticationFlows(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 OdataType property + odata_type: Optional[str] = None + # The transferMethods property + transfer_methods: Optional[ConditionalAccessTransferMethods] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> ConditionalAccessAuthenticationFlows: + """ + 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: ConditionalAccessAuthenticationFlows + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return ConditionalAccessAuthenticationFlows() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .conditional_access_transfer_methods import ConditionalAccessTransferMethods + + from .conditional_access_transfer_methods import ConditionalAccessTransferMethods + + fields: Dict[str, Callable[[Any], None]] = { + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "transferMethods": lambda n : setattr(self, 'transfer_methods', n.get_collection_of_enum_values(ConditionalAccessTransferMethods)), + } + 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.") + from .conditional_access_transfer_methods import ConditionalAccessTransferMethods + + writer.write_str_value("@odata.type", self.odata_type) + writer.write_enum_value("transferMethods", self.transfer_methods) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/conditional_access_condition_set.py b/msgraph/generated/models/conditional_access_condition_set.py index 76930a61ee..3e9ad54a3d 100644 --- a/msgraph/generated/models/conditional_access_condition_set.py +++ b/msgraph/generated/models/conditional_access_condition_set.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from .conditional_access_applications import ConditionalAccessApplications + from .conditional_access_authentication_flows import ConditionalAccessAuthenticationFlows from .conditional_access_client_app import ConditionalAccessClientApp from .conditional_access_client_applications import ConditionalAccessClientApplications from .conditional_access_devices import ConditionalAccessDevices @@ -24,6 +25,8 @@ class ConditionalAccessConditionSet(AdditionalDataHolder, BackedModel, Parsable) additional_data: Dict[str, Any] = field(default_factory=dict) # Applications and user actions included in and excluded from the policy. Required. applications: Optional[ConditionalAccessApplications] = None + # The authenticationFlows property + authentication_flows: Optional[ConditionalAccessAuthenticationFlows] = None # Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync which includes EAS supported and unsupported platforms. client_app_types: Optional[List[ConditionalAccessClientApp]] = None # Client applications (service principals and workload identities) included in and excluded from the policy. Either users or clientApplications is required. @@ -64,6 +67,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .conditional_access_applications import ConditionalAccessApplications + from .conditional_access_authentication_flows import ConditionalAccessAuthenticationFlows from .conditional_access_client_app import ConditionalAccessClientApp from .conditional_access_client_applications import ConditionalAccessClientApplications from .conditional_access_devices import ConditionalAccessDevices @@ -74,6 +78,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .risk_level import RiskLevel from .conditional_access_applications import ConditionalAccessApplications + from .conditional_access_authentication_flows import ConditionalAccessAuthenticationFlows from .conditional_access_client_app import ConditionalAccessClientApp from .conditional_access_client_applications import ConditionalAccessClientApplications from .conditional_access_devices import ConditionalAccessDevices @@ -85,6 +90,7 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: fields: Dict[str, Callable[[Any], None]] = { "applications": lambda n : setattr(self, 'applications', n.get_object_value(ConditionalAccessApplications)), + "authenticationFlows": lambda n : setattr(self, 'authentication_flows', n.get_object_value(ConditionalAccessAuthenticationFlows)), "clientAppTypes": lambda n : setattr(self, 'client_app_types', n.get_collection_of_enum_values(ConditionalAccessClientApp)), "clientApplications": lambda n : setattr(self, 'client_applications', n.get_object_value(ConditionalAccessClientApplications)), "devices": lambda n : setattr(self, 'devices', n.get_object_value(ConditionalAccessDevices)), @@ -108,6 +114,7 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") from .conditional_access_applications import ConditionalAccessApplications + from .conditional_access_authentication_flows import ConditionalAccessAuthenticationFlows from .conditional_access_client_app import ConditionalAccessClientApp from .conditional_access_client_applications import ConditionalAccessClientApplications from .conditional_access_devices import ConditionalAccessDevices @@ -118,6 +125,7 @@ def serialize(self,writer: SerializationWriter) -> None: from .risk_level import RiskLevel writer.write_object_value("applications", self.applications) + writer.write_object_value("authenticationFlows", self.authentication_flows) writer.write_collection_of_enum_values("clientAppTypes", self.client_app_types) writer.write_object_value("clientApplications", self.client_applications) writer.write_object_value("devices", self.devices) diff --git a/msgraph/generated/models/conditional_access_transfer_methods.py b/msgraph/generated/models/conditional_access_transfer_methods.py new file mode 100644 index 0000000000..9e046b5df7 --- /dev/null +++ b/msgraph/generated/models/conditional_access_transfer_methods.py @@ -0,0 +1,8 @@ +from enum import Enum + +class ConditionalAccessTransferMethods(str, Enum): + None_ = "none", + DeviceCodeFlow = "deviceCodeFlow", + AuthenticationTransfer = "authenticationTransfer", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/models/entity.py b/msgraph/generated/models/entity.py index 9c08e4ae5a..e2cbc610bd 100644 --- a/msgraph/generated/models/entity.py +++ b/msgraph/generated/models/entity.py @@ -670,12 +670,14 @@ from .security.intelligence_profile_indicator import IntelligenceProfileIndicator from .security.ip_address import IpAddress from .security.labels_root import LabelsRoot + from .security.network_adapter import NetworkAdapter from .security.passive_dns_record import PassiveDnsRecord from .security.retention_event import RetentionEvent from .security.retention_event_type import RetentionEventType from .security.retention_label import RetentionLabel from .security.search import Search from .security.security import Security + from .security.sensor import Sensor from .security.site_source import SiteSource from .security.ssl_certificate import SslCertificate from .security.subcategory_template import SubcategoryTemplate @@ -3663,6 +3665,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .security.labels_root import LabelsRoot return LabelsRoot() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.networkAdapter".casefold(): + from .security.network_adapter import NetworkAdapter + + return NetworkAdapter() if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.passiveDnsRecord".casefold(): from .security.passive_dns_record import PassiveDnsRecord @@ -3683,6 +3689,10 @@ def create_from_discriminator_value(parse_node: ParseNode) -> Entity: from .security.search import Search return Search() + if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.sensor".casefold(): + from .security.sensor import Sensor + + return Sensor() if mapping_value and mapping_value.casefold() == "#microsoft.graph.security.siteSource".casefold(): from .security.site_source import SiteSource @@ -5504,12 +5514,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .security.intelligence_profile_indicator import IntelligenceProfileIndicator from .security.ip_address import IpAddress from .security.labels_root import LabelsRoot + from .security.network_adapter import NetworkAdapter from .security.passive_dns_record import PassiveDnsRecord from .security.retention_event import RetentionEvent from .security.retention_event_type import RetentionEventType from .security.retention_label import RetentionLabel from .security.search import Search from .security.security import Security + from .security.sensor import Sensor from .security.site_source import SiteSource from .security.ssl_certificate import SslCertificate from .security.subcategory_template import SubcategoryTemplate @@ -6463,12 +6475,14 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: from .security.intelligence_profile_indicator import IntelligenceProfileIndicator from .security.ip_address import IpAddress from .security.labels_root import LabelsRoot + from .security.network_adapter import NetworkAdapter from .security.passive_dns_record import PassiveDnsRecord from .security.retention_event import RetentionEvent from .security.retention_event_type import RetentionEventType from .security.retention_label import RetentionLabel from .security.search import Search from .security.security import Security + from .security.sensor import Sensor from .security.site_source import SiteSource from .security.ssl_certificate import SslCertificate from .security.subcategory_template import SubcategoryTemplate @@ -7436,12 +7450,14 @@ def serialize(self,writer: SerializationWriter) -> None: from .security.intelligence_profile_indicator import IntelligenceProfileIndicator from .security.ip_address import IpAddress from .security.labels_root import LabelsRoot + from .security.network_adapter import NetworkAdapter from .security.passive_dns_record import PassiveDnsRecord from .security.retention_event import RetentionEvent from .security.retention_event_type import RetentionEventType from .security.retention_label import RetentionLabel from .security.search import Search from .security.security import Security + from .security.sensor import Sensor from .security.site_source import SiteSource from .security.ssl_certificate import SslCertificate from .security.subcategory_template import SubcategoryTemplate diff --git a/msgraph/generated/models/key_credential_configuration.py b/msgraph/generated/models/key_credential_configuration.py index 809bbee764..1daa65591a 100644 --- a/msgraph/generated/models/key_credential_configuration.py +++ b/msgraph/generated/models/key_credential_configuration.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + from .app_management_restriction_state import AppManagementRestrictionState @dataclass class KeyCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsable): @@ -23,6 +24,8 @@ class KeyCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsable): restrict_for_apps_created_after_date_time: Optional[datetime.datetime] = None # The type of restriction being applied. Possible values are asymmetricKeyLifetime, and unknownFutureValue. Each value of restrictionType can be used only once per policy. restriction_type: Optional[AppKeyCredentialRestrictionType] = None + # The state property + state: Optional[AppManagementRestrictionState] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> KeyCredentialConfiguration: @@ -41,14 +44,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + from .app_management_restriction_state import AppManagementRestrictionState from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + from .app_management_restriction_state import AppManagementRestrictionState fields: Dict[str, Callable[[Any], None]] = { "maxLifetime": lambda n : setattr(self, 'max_lifetime', n.get_timedelta_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "restrictForAppsCreatedAfterDateTime": lambda n : setattr(self, 'restrict_for_apps_created_after_date_time', n.get_datetime_value()), "restrictionType": lambda n : setattr(self, 'restriction_type', n.get_enum_value(AppKeyCredentialRestrictionType)), + "state": lambda n : setattr(self, 'state', n.get_enum_value(AppManagementRestrictionState)), } return fields @@ -61,11 +67,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") from .app_key_credential_restriction_type import AppKeyCredentialRestrictionType + from .app_management_restriction_state import AppManagementRestrictionState writer.write_timedelta_value("maxLifetime", self.max_lifetime) writer.write_str_value("@odata.type", self.odata_type) writer.write_datetime_value("restrictForAppsCreatedAfterDateTime", self.restrict_for_apps_created_after_date_time) writer.write_enum_value("restrictionType", self.restriction_type) + writer.write_enum_value("state", self.state) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/password_credential_configuration.py b/msgraph/generated/models/password_credential_configuration.py index f7e646e305..0495466385 100644 --- a/msgraph/generated/models/password_credential_configuration.py +++ b/msgraph/generated/models/password_credential_configuration.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from .app_credential_restriction_type import AppCredentialRestrictionType + from .app_management_restriction_state import AppManagementRestrictionState @dataclass class PasswordCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsable): @@ -23,6 +24,8 @@ class PasswordCredentialConfiguration(AdditionalDataHolder, BackedModel, Parsabl restrict_for_apps_created_after_date_time: Optional[datetime.datetime] = None # The type of restriction being applied. The possible values are: passwordAddition, passwordLifetime, symmetricKeyAddition, symmetricKeyLifetime, customPasswordAddition, and unknownFutureValue. Each value of restrictionType can be used only once per policy. restriction_type: Optional[AppCredentialRestrictionType] = None + # The state property + state: Optional[AppManagementRestrictionState] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> PasswordCredentialConfiguration: @@ -41,14 +44,17 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: Returns: Dict[str, Callable[[ParseNode], None]] """ from .app_credential_restriction_type import AppCredentialRestrictionType + from .app_management_restriction_state import AppManagementRestrictionState from .app_credential_restriction_type import AppCredentialRestrictionType + from .app_management_restriction_state import AppManagementRestrictionState fields: Dict[str, Callable[[Any], None]] = { "maxLifetime": lambda n : setattr(self, 'max_lifetime', n.get_timedelta_value()), "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), "restrictForAppsCreatedAfterDateTime": lambda n : setattr(self, 'restrict_for_apps_created_after_date_time', n.get_datetime_value()), "restrictionType": lambda n : setattr(self, 'restriction_type', n.get_enum_value(AppCredentialRestrictionType)), + "state": lambda n : setattr(self, 'state', n.get_enum_value(AppManagementRestrictionState)), } return fields @@ -61,11 +67,13 @@ def serialize(self,writer: SerializationWriter) -> None: if writer is None: raise TypeError("writer cannot be null.") from .app_credential_restriction_type import AppCredentialRestrictionType + from .app_management_restriction_state import AppManagementRestrictionState writer.write_timedelta_value("maxLifetime", self.max_lifetime) writer.write_str_value("@odata.type", self.odata_type) writer.write_datetime_value("restrictForAppsCreatedAfterDateTime", self.restrict_for_apps_created_after_date_time) writer.write_enum_value("restrictionType", self.restriction_type) + writer.write_enum_value("state", self.state) writer.write_additional_data_value(self.additional_data) diff --git a/msgraph/generated/models/security/deployment_access_key_type.py b/msgraph/generated/models/security/deployment_access_key_type.py new file mode 100644 index 0000000000..79598ddfe9 --- /dev/null +++ b/msgraph/generated/models/security/deployment_access_key_type.py @@ -0,0 +1,53 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class DeploymentAccessKeyType(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 deployment access key. + deployment_access_key: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> DeploymentAccessKeyType: + """ + 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: DeploymentAccessKeyType + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return DeploymentAccessKeyType() + + 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]] = { + "deploymentAccessKey": lambda n : setattr(self, 'deployment_access_key', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', 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_str_value("deploymentAccessKey", self.deployment_access_key) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/security/deployment_status.py b/msgraph/generated/models/security/deployment_status.py new file mode 100644 index 0000000000..87a116be54 --- /dev/null +++ b/msgraph/generated/models/security/deployment_status.py @@ -0,0 +1,14 @@ +from enum import Enum + +class DeploymentStatus(str, Enum): + UpToDate = "upToDate", + Outdated = "outdated", + Updating = "updating", + UpdateFailed = "updateFailed", + NotConfigured = "notConfigured", + Unreachable = "unreachable", + Disconnected = "disconnected", + StartFailure = "startFailure", + Syncing = "syncing", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/models/security/evidence_remediation_status.py b/msgraph/generated/models/security/evidence_remediation_status.py index 0b0237f828..b66f0482d9 100644 --- a/msgraph/generated/models/security/evidence_remediation_status.py +++ b/msgraph/generated/models/security/evidence_remediation_status.py @@ -7,4 +7,10 @@ class EvidenceRemediationStatus(str, Enum): Blocked = "blocked", NotFound = "notFound", UnknownFutureValue = "unknownFutureValue", + Active = "active", + PendingApproval = "pendingApproval", + Declined = "declined", + Unremediated = "unremediated", + Running = "running", + PartiallyRemediated = "partiallyRemediated", diff --git a/msgraph/generated/models/security/identity_container.py b/msgraph/generated/models/security/identity_container.py index ce99b12e10..4f578e0c92 100644 --- a/msgraph/generated/models/security/identity_container.py +++ b/msgraph/generated/models/security/identity_container.py @@ -6,6 +6,7 @@ if TYPE_CHECKING: from ..entity import Entity from .health_issue import HealthIssue + from .sensor import Sensor from ..entity import Entity @@ -15,6 +16,8 @@ class IdentityContainer(Entity, Parsable): health_issues: Optional[List[HealthIssue]] = None # The OdataType property odata_type: Optional[str] = None + # Represents a customer's Microsoft Defender for Identity sensors. + sensors: Optional[List[Sensor]] = None @staticmethod def create_from_discriminator_value(parse_node: ParseNode) -> IdentityContainer: @@ -34,12 +37,15 @@ def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: """ from ..entity import Entity from .health_issue import HealthIssue + from .sensor import Sensor from ..entity import Entity from .health_issue import HealthIssue + from .sensor import Sensor fields: Dict[str, Callable[[Any], None]] = { "healthIssues": lambda n : setattr(self, 'health_issues', n.get_collection_of_object_values(HealthIssue)), + "sensors": lambda n : setattr(self, 'sensors', n.get_collection_of_object_values(Sensor)), } super_fields = super().get_field_deserializers() fields.update(super_fields) @@ -56,7 +62,9 @@ def serialize(self,writer: SerializationWriter) -> None: super().serialize(writer) from ..entity import Entity from .health_issue import HealthIssue + from .sensor import Sensor writer.write_collection_of_object_values("healthIssues", self.health_issues) + writer.write_collection_of_object_values("sensors", self.sensors) diff --git a/msgraph/generated/models/security/network_adapter.py b/msgraph/generated/models/security/network_adapter.py new file mode 100644 index 0000000000..e550640630 --- /dev/null +++ b/msgraph/generated/models/security/network_adapter.py @@ -0,0 +1,62 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + +from ..entity import Entity + +@dataclass +class NetworkAdapter(Entity, Parsable): + # Indicates whether the network adapter is selected for capturing and analyzing network traffic. + is_enabled: Optional[bool] = None + # The name of the network adapter. + name: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> NetworkAdapter: + """ + 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: NetworkAdapter + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return NetworkAdapter() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..entity import Entity + + from ..entity import Entity + + fields: Dict[str, Callable[[Any], None]] = { + "isEnabled": lambda n : setattr(self, 'is_enabled', n.get_bool_value()), + "name": lambda n : setattr(self, 'name', n.get_str_value()), + } + 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) + from ..entity import Entity + + writer.write_bool_value("isEnabled", self.is_enabled) + writer.write_str_value("name", self.name) + + diff --git a/msgraph/generated/models/security/sensor.py b/msgraph/generated/models/security/sensor.py new file mode 100644 index 0000000000..7b17d438dc --- /dev/null +++ b/msgraph/generated/models/security/sensor.py @@ -0,0 +1,115 @@ +from __future__ import annotations +import datetime +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..entity import Entity + from .deployment_status import DeploymentStatus + from .health_issue import HealthIssue + from .sensor_health_status import SensorHealthStatus + from .sensor_settings import SensorSettings + from .sensor_type import SensorType + +from ..entity import Entity + +@dataclass +class Sensor(Entity, Parsable): + # The date and time when the sensor was generated. The Timestamp 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. + created_date_time: Optional[datetime.datetime] = None + # The deploymentStatus property + deployment_status: Optional[DeploymentStatus] = None + # The display name of the sensor. + display_name: Optional[str] = None + # The fully qualified domain name of the sensor. + domain_name: Optional[str] = None + # Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. + health_issues: Optional[List[HealthIssue]] = None + # The healthStatus property + health_status: Optional[SensorHealthStatus] = None + # The OdataType property + odata_type: Optional[str] = None + # This field displays the count of health issues related to this sensor. + open_health_issues_count: Optional[int] = None + # The sensorType property + sensor_type: Optional[SensorType] = None + # The settings property + settings: Optional[SensorSettings] = None + # The version of the sensor. + version: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> Sensor: + """ + 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: Sensor + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return Sensor() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..entity import Entity + from .deployment_status import DeploymentStatus + from .health_issue import HealthIssue + from .sensor_health_status import SensorHealthStatus + from .sensor_settings import SensorSettings + from .sensor_type import SensorType + + from ..entity import Entity + from .deployment_status import DeploymentStatus + from .health_issue import HealthIssue + from .sensor_health_status import SensorHealthStatus + from .sensor_settings import SensorSettings + from .sensor_type import SensorType + + fields: Dict[str, Callable[[Any], None]] = { + "createdDateTime": lambda n : setattr(self, 'created_date_time', n.get_datetime_value()), + "deploymentStatus": lambda n : setattr(self, 'deployment_status', n.get_enum_value(DeploymentStatus)), + "displayName": lambda n : setattr(self, 'display_name', n.get_str_value()), + "domainName": lambda n : setattr(self, 'domain_name', n.get_str_value()), + "healthIssues": lambda n : setattr(self, 'health_issues', n.get_collection_of_object_values(HealthIssue)), + "healthStatus": lambda n : setattr(self, 'health_status', n.get_enum_value(SensorHealthStatus)), + "openHealthIssuesCount": lambda n : setattr(self, 'open_health_issues_count', n.get_int_value()), + "sensorType": lambda n : setattr(self, 'sensor_type', n.get_enum_value(SensorType)), + "settings": lambda n : setattr(self, 'settings', n.get_object_value(SensorSettings)), + "version": lambda n : setattr(self, 'version', n.get_str_value()), + } + 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) + from ..entity import Entity + from .deployment_status import DeploymentStatus + from .health_issue import HealthIssue + from .sensor_health_status import SensorHealthStatus + from .sensor_settings import SensorSettings + from .sensor_type import SensorType + + writer.write_datetime_value("createdDateTime", self.created_date_time) + writer.write_enum_value("deploymentStatus", self.deployment_status) + writer.write_str_value("displayName", self.display_name) + writer.write_str_value("domainName", self.domain_name) + writer.write_collection_of_object_values("healthIssues", self.health_issues) + writer.write_enum_value("healthStatus", self.health_status) + writer.write_int_value("openHealthIssuesCount", self.open_health_issues_count) + writer.write_enum_value("sensorType", self.sensor_type) + writer.write_object_value("settings", self.settings) + writer.write_str_value("version", self.version) + + diff --git a/msgraph/generated/models/security/sensor_collection_response.py b/msgraph/generated/models/security/sensor_collection_response.py new file mode 100644 index 0000000000..ddac359f9a --- /dev/null +++ b/msgraph/generated/models/security/sensor_collection_response.py @@ -0,0 +1,60 @@ +from __future__ import annotations +from dataclasses import dataclass, field +from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter +from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sensor import Sensor + +from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + +@dataclass +class SensorCollectionResponse(BaseCollectionPaginationCountResponse, Parsable): + # The value property + value: Optional[List[Sensor]] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SensorCollectionResponse: + """ + 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: SensorCollectionResponse + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return SensorCollectionResponse() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sensor import Sensor + + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sensor import Sensor + + fields: Dict[str, Callable[[Any], None]] = { + "value": lambda n : setattr(self, 'value', n.get_collection_of_object_values(Sensor)), + } + 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) + from ..base_collection_pagination_count_response import BaseCollectionPaginationCountResponse + from .sensor import Sensor + + writer.write_collection_of_object_values("value", self.value) + + diff --git a/msgraph/generated/models/security/sensor_deployment_package.py b/msgraph/generated/models/security/sensor_deployment_package.py new file mode 100644 index 0000000000..40273f1639 --- /dev/null +++ b/msgraph/generated/models/security/sensor_deployment_package.py @@ -0,0 +1,57 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +@dataclass +class SensorDeploymentPackage(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) + # URL to download the sensor deployment package. + download_url: Optional[str] = None + # The OdataType property + odata_type: Optional[str] = None + # Version of the sensor. + version: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SensorDeploymentPackage: + """ + 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: SensorDeploymentPackage + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return SensorDeploymentPackage() + + 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]] = { + "downloadUrl": lambda n : setattr(self, 'download_url', n.get_str_value()), + "@odata.type": lambda n : setattr(self, 'odata_type', n.get_str_value()), + "version": lambda n : setattr(self, 'version', 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_str_value("downloadUrl", self.download_url) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_str_value("version", self.version) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/security/sensor_health_status.py b/msgraph/generated/models/security/sensor_health_status.py new file mode 100644 index 0000000000..fa5e61cce1 --- /dev/null +++ b/msgraph/generated/models/security/sensor_health_status.py @@ -0,0 +1,9 @@ +from enum import Enum + +class SensorHealthStatus(str, Enum): + Healthy = "healthy", + NotHealthyLow = "notHealthyLow", + NotHealthyMedium = "notHealthyMedium", + NotHealthyHigh = "notHealthyHigh", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/models/security/sensor_settings.py b/msgraph/generated/models/security/sensor_settings.py new file mode 100644 index 0000000000..b061770090 --- /dev/null +++ b/msgraph/generated/models/security/sensor_settings.py @@ -0,0 +1,74 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union + +if TYPE_CHECKING: + from .network_adapter import NetworkAdapter + +@dataclass +class SensorSettings(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) + # Description of the sensor. + description: Optional[str] = None + # DNS names for the domain controller + domain_controller_dns_names: Optional[List[str]] = None + # Indicates whether to delay updates for the sensor. + is_delayed_deployment_enabled: Optional[bool] = None + # The networkAdapters property + network_adapters: Optional[List[NetworkAdapter]] = None + # The OdataType property + odata_type: Optional[str] = None + + @staticmethod + def create_from_discriminator_value(parse_node: ParseNode) -> SensorSettings: + """ + 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: SensorSettings + """ + if parse_node is None: + raise TypeError("parse_node cannot be null.") + return SensorSettings() + + def get_field_deserializers(self,) -> Dict[str, Callable[[ParseNode], None]]: + """ + The deserialization information for the current model + Returns: Dict[str, Callable[[ParseNode], None]] + """ + from .network_adapter import NetworkAdapter + + from .network_adapter import NetworkAdapter + + fields: Dict[str, Callable[[Any], None]] = { + "description": lambda n : setattr(self, 'description', n.get_str_value()), + "domainControllerDnsNames": lambda n : setattr(self, 'domain_controller_dns_names', n.get_collection_of_primitive_values(str)), + "isDelayedDeploymentEnabled": lambda n : setattr(self, 'is_delayed_deployment_enabled', n.get_bool_value()), + "networkAdapters": lambda n : setattr(self, 'network_adapters', n.get_collection_of_object_values(NetworkAdapter)), + "@odata.type": lambda n : setattr(self, 'odata_type', 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.") + from .network_adapter import NetworkAdapter + + writer.write_str_value("description", self.description) + writer.write_collection_of_primitive_values("domainControllerDnsNames", self.domain_controller_dns_names) + writer.write_bool_value("isDelayedDeploymentEnabled", self.is_delayed_deployment_enabled) + writer.write_collection_of_object_values("networkAdapters", self.network_adapters) + writer.write_str_value("@odata.type", self.odata_type) + writer.write_additional_data_value(self.additional_data) + + diff --git a/msgraph/generated/models/security/sensor_type.py b/msgraph/generated/models/security/sensor_type.py new file mode 100644 index 0000000000..30653d041c --- /dev/null +++ b/msgraph/generated/models/security/sensor_type.py @@ -0,0 +1,10 @@ +from enum import Enum + +class SensorType(str, Enum): + AdConnectIntegrated = "adConnectIntegrated", + AdcsIntegrated = "adcsIntegrated", + AdfsIntegrated = "adfsIntegrated", + DomainControllerIntegrated = "domainControllerIntegrated", + DomainControllerStandalone = "domainControllerStandalone", + UnknownFutureValue = "unknownFutureValue", + diff --git a/msgraph/generated/organization/item/organization_item_request_builder.py b/msgraph/generated/organization/item/organization_item_request_builder.py index f694f8a8b7..05ccdbe73a 100644 --- a/msgraph/generated/organization/item/organization_item_request_builder.py +++ b/msgraph/generated/organization/item/organization_item_request_builder.py @@ -58,10 +58,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> Optional[Organization]: """ - Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + Read properties and relationships of the organization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Organization] - Find more info here: https://learn.microsoft.com/graph/api/organization-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -114,7 +114,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + Read properties and relationships of the organization object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -239,7 +239,7 @@ class OrganizationItemRequestBuilderDeleteRequestConfiguration(RequestConfigurat @dataclass class OrganizationItemRequestBuilderGetQueryParameters(): """ - Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + Read properties and relationships of the organization object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/organization/organization_request_builder.py b/msgraph/generated/organization/organization_request_builder.py index f6d24dc2d3..39e29dc45e 100644 --- a/msgraph/generated/organization/organization_request_builder.py +++ b/msgraph/generated/organization/organization_request_builder.py @@ -52,10 +52,10 @@ def by_organization_id(self,organization_id: str) -> OrganizationItemRequestBuil async def get(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> Optional[OrganizationCollectionResponse]: """ - Retrieve a list of organization objects. There's only one organization object in the collection. + List properties and relationships of the organization objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[OrganizationCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/organization-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-organization-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -96,7 +96,7 @@ async def post(self,body: Organization, request_configuration: Optional[RequestC def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[OrganizationRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a list of organization objects. There's only one organization object in the collection. + List properties and relationships of the organization objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -178,7 +178,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class OrganizationRequestBuilderGetQueryParameters(): """ - Retrieve a list of organization objects. There's only one organization object in the collection. + List properties and relationships of the organization objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py b/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py index 2b3fb6eeab..6418faa67c 100644 --- a/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py +++ b/msgraph/generated/policies/cross_tenant_access_policy/partners/item/identity_synchronization/identity_synchronization_request_builder.py @@ -71,11 +71,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Identity async def put(self,body: CrossTenantIdentitySyncPolicyPartner, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[CrossTenantIdentitySyncPolicyPartner]: """ - Update the user synchronization policy of a partner-specific configuration. + Create a cross-tenant user synchronization policy for 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/crosstenantidentitysyncpolicypartner-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-1.0 """ 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: """ - Update the user synchronization policy of a partner-specific configuration. + Create a cross-tenant user synchronization policy for 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/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py b/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py index af96f81c72..adc3b4617c 100644 --- a/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py +++ b/msgraph/generated/security/cases/ediscovery_cases/item/custodians/item/microsoft_graph_security_apply_hold/microsoft_graph_security_apply_hold_request_builder.py @@ -30,7 +30,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. + Start the process of applying hold on eDiscovery custodians. After the operation is created, you can use Get ediscoveryCustodian to retrieve the status of an ediscoveryCustodian. 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/security-ediscoverycustodian-applyhold?view=graph-rest-1.0 @@ -49,7 +49,7 @@ async def post(self,request_configuration: Optional[RequestConfiguration[QueryPa def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. + Start the process of applying hold on eDiscovery custodians. After the operation is created, you can use Get ediscoveryCustodian to retrieve the status of an ediscoveryCustodian. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/security/identities/identities_request_builder.py b/msgraph/generated/security/identities/identities_request_builder.py index a67d1595ed..7027e8cf0f 100644 --- a/msgraph/generated/security/identities/identities_request_builder.py +++ b/msgraph/generated/security/identities/identities_request_builder.py @@ -16,6 +16,7 @@ from ...models.o_data_errors.o_data_error import ODataError from ...models.security.identity_container import IdentityContainer from .health_issues.health_issues_request_builder import HealthIssuesRequestBuilder + from .sensors.sensors_request_builder import SensorsRequestBuilder class IdentitiesRequestBuilder(BaseRequestBuilder): """ @@ -147,6 +148,15 @@ def health_issues(self) -> HealthIssuesRequestBuilder: return HealthIssuesRequestBuilder(self.request_adapter, self.path_parameters) + @property + def sensors(self) -> SensorsRequestBuilder: + """ + Provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity. + """ + from .sensors.sensors_request_builder import SensorsRequestBuilder + + return SensorsRequestBuilder(self.request_adapter, self.path_parameters) + @dataclass class IdentitiesRequestBuilderDeleteRequestConfiguration(RequestConfiguration[QueryParameters]): """ diff --git a/msgraph/generated/security/identities/sensors/count/count_request_builder.py b/msgraph/generated/security/identities/sensors/count/count_request_builder.py new file mode 100644 index 0000000000..634bde36fd --- /dev/null +++ b/msgraph/generated/security/identities/sensors/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder 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}/security/identities/sensors/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + 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") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + 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", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + 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: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + 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 == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + 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/generated/security/identities/sensors/item/health_issues/count/count_request_builder.py b/msgraph/generated/security/identities/sensors/item/health_issues/count/count_request_builder.py new file mode 100644 index 0000000000..06493d3c8e --- /dev/null +++ b/msgraph/generated/security/identities/sensors/item/health_issues/count/count_request_builder.py @@ -0,0 +1,103 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + +class CountRequestBuilder(BaseRequestBuilder): + """ + Provides operations to count the resources in the collection. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new CountRequestBuilder 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}/security/identities/sensors/{sensor%2Did}/healthIssues/$count{?%24filter,%24search}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> Optional[int]: + """ + Get the number of the resource + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[int] + """ + 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") + return await self.request_adapter.send_primitive_async(request_info, "int", error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[CountRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get the number of the resource + 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", "text/plain;q=0.9") + return request_info + + def with_url(self,raw_url: str) -> CountRequestBuilder: + """ + 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: CountRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return CountRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class CountRequestBuilderGetQueryParameters(): + """ + Get the number of the resource + """ + 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 == "filter": + return "%24filter" + if original_name == "search": + return "%24search" + return original_name + + # Filter items by property values + filter: Optional[str] = None + + # Search items by search phrases + search: Optional[str] = None + + + @dataclass + class CountRequestBuilderGetRequestConfiguration(RequestConfiguration[CountRequestBuilderGetQueryParameters]): + """ + 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/generated/security/identities/sensors/item/health_issues/health_issues_request_builder.py b/msgraph/generated/security/identities/sensors/item/health_issues/health_issues_request_builder.py new file mode 100644 index 0000000000..c08bf67b1d --- /dev/null +++ b/msgraph/generated/security/identities/sensors/item/health_issues/health_issues_request_builder.py @@ -0,0 +1,161 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ......models.o_data_errors.o_data_error import ODataError + from ......models.security.health_issue_collection_response import HealthIssueCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.health_issue_item_request_builder import HealthIssueItemRequestBuilder + +class HealthIssuesRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HealthIssuesRequestBuilder 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}/security/identities/sensors/{sensor%2Did}/healthIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_health_issue_id(self,health_issue_id: str) -> HealthIssueItemRequestBuilder: + """ + Provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity. + param health_issue_id: The unique identifier of healthIssue + Returns: HealthIssueItemRequestBuilder + """ + if health_issue_id is None: + raise TypeError("health_issue_id cannot be null.") + from .item.health_issue_item_request_builder import HealthIssueItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["healthIssue%2Did"] = health_issue_id + return HealthIssueItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[HealthIssuesRequestBuilderGetQueryParameters]] = None) -> Optional[HealthIssueCollectionResponse]: + """ + Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HealthIssueCollectionResponse] + """ + 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 ......models.security.health_issue_collection_response import HealthIssueCollectionResponse + + return await self.request_adapter.send_async(request_info, HealthIssueCollectionResponse, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[HealthIssuesRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. + 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) -> HealthIssuesRequestBuilder: + """ + 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: HealthIssuesRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return HealthIssuesRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class HealthIssuesRequestBuilderGetQueryParameters(): + """ + Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. + """ + 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 == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class HealthIssuesRequestBuilderGetRequestConfiguration(RequestConfiguration[HealthIssuesRequestBuilderGetQueryParameters]): + """ + 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/generated/security/identities/sensors/item/health_issues/item/health_issue_item_request_builder.py b/msgraph/generated/security/identities/sensors/item/health_issues/item/health_issue_item_request_builder.py new file mode 100644 index 0000000000..dd5bcf97cd --- /dev/null +++ b/msgraph/generated/security/identities/sensors/item/health_issues/item/health_issue_item_request_builder.py @@ -0,0 +1,106 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .......models.o_data_errors.o_data_error import ODataError + from .......models.security.health_issue import HealthIssue + +class HealthIssueItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new HealthIssueItemRequestBuilder 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}/security/identities/sensors/{sensor%2Did}/healthIssues/{healthIssue%2Did}{?%24expand,%24select}", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[HealthIssueItemRequestBuilderGetQueryParameters]] = None) -> Optional[HealthIssue]: + """ + Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[HealthIssue] + """ + 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 .......models.security.health_issue import HealthIssue + + return await self.request_adapter.send_async(request_info, HealthIssue, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[HealthIssueItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. + 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) -> HealthIssueItemRequestBuilder: + """ + 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: HealthIssueItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return HealthIssueItemRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class HealthIssueItemRequestBuilderGetQueryParameters(): + """ + Represents potential issues within a customer's Microsoft Defender for Identity configuration that Microsoft Defender for Identity identified related to the sensor. + """ + 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 == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class HealthIssueItemRequestBuilderGetRequestConfiguration(RequestConfiguration[HealthIssueItemRequestBuilderGetQueryParameters]): + """ + 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/generated/security/identities/sensors/item/sensor_item_request_builder.py b/msgraph/generated/security/identities/sensors/item/sensor_item_request_builder.py new file mode 100644 index 0000000000..ee80bb5599 --- /dev/null +++ b/msgraph/generated/security/identities/sensors/item/sensor_item_request_builder.py @@ -0,0 +1,200 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.security.sensor import Sensor + from .health_issues.health_issues_request_builder import HealthIssuesRequestBuilder + +class SensorItemRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new SensorItemRequestBuilder 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}/security/identities/sensors/{sensor%2Did}{?%24expand,%24select}", path_parameters) + + async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: + """ + Delete a sensor 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/security-sensor-delete?view=graph-rest-1.0 + """ + request_info = self.to_delete_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) + + async def get(self,request_configuration: Optional[RequestConfiguration[SensorItemRequestBuilderGetQueryParameters]] = None) -> Optional[Sensor]: + """ + Read the properties and relationships of a sensor object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Sensor] + Find more info here: https://learn.microsoft.com/graph/api/security-sensor-get?view=graph-rest-1.0 + """ + 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 .....models.security.sensor import Sensor + + return await self.request_adapter.send_async(request_info, Sensor, error_mapping) + + async def patch(self,body: Sensor, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Sensor]: + """ + Update the properties of a sensor object. + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Sensor] + Find more info here: https://learn.microsoft.com/graph/api/security-sensor-update?view=graph-rest-1.0 + """ + if body is None: + raise TypeError("body cannot be null.") + request_info = self.to_patch_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.security.sensor import Sensor + + return await self.request_adapter.send_async(request_info, Sensor, error_mapping) + + def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Delete a sensor object. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: RequestInformation + """ + request_info = RequestInformation(Method.DELETE, self.url_template, self.path_parameters) + request_info.configure(request_configuration) + request_info.headers.try_add("Accept", "application/json") + return request_info + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SensorItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Read the properties and relationships of a sensor object. + 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 to_patch_request_information(self,body: Sensor, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Update the properties of a sensor object. + 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.PATCH, 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) -> SensorItemRequestBuilder: + """ + 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: SensorItemRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return SensorItemRequestBuilder(self.request_adapter, raw_url) + + @property + def health_issues(self) -> HealthIssuesRequestBuilder: + """ + Provides operations to manage the healthIssues property of the microsoft.graph.security.sensor entity. + """ + from .health_issues.health_issues_request_builder import HealthIssuesRequestBuilder + + return HealthIssuesRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class SensorItemRequestBuilderDeleteRequestConfiguration(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) + + @dataclass + class SensorItemRequestBuilderGetQueryParameters(): + """ + Read the properties and relationships of a sensor object. + """ + 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 == "expand": + return "%24expand" + if original_name == "select": + return "%24select" + return original_name + + # Expand related entities + expand: Optional[List[str]] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + + @dataclass + class SensorItemRequestBuilderGetRequestConfiguration(RequestConfiguration[SensorItemRequestBuilderGetQueryParameters]): + """ + 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) + + @dataclass + class SensorItemRequestBuilderPatchRequestConfiguration(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/generated/security/identities/sensors/microsoft_graph_security_get_deployment_access_key/microsoft_graph_security_get_deployment_access_key_request_builder.py b/msgraph/generated/security/identities/sensors/microsoft_graph_security_get_deployment_access_key/microsoft_graph_security_get_deployment_access_key_request_builder.py new file mode 100644 index 0000000000..ebc1fa5ed2 --- /dev/null +++ b/msgraph/generated/security/identities/sensors/microsoft_graph_security_get_deployment_access_key/microsoft_graph_security_get_deployment_access_key_request_builder.py @@ -0,0 +1,80 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.security.deployment_access_key_type import DeploymentAccessKeyType + +class MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getDeploymentAccessKey method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder 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}/security/identities/sensors/microsoft.graph.security.getDeploymentAccessKey()", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeploymentAccessKeyType]: + """ + Get the deployment access key for Microsoft Defender for Identity that is required to install sensors associated with the workspace. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DeploymentAccessKeyType] + """ + 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 .....models.security.deployment_access_key_type import DeploymentAccessKeyType + + return await self.request_adapter.send_async(request_info, DeploymentAccessKeyType, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Get the deployment access key for Microsoft Defender for Identity that is required to install sensors associated with the workspace. + 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) -> MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder: + """ + 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: MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilderGetRequestConfiguration(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/generated/security/identities/sensors/microsoft_graph_security_get_deployment_package_uri/microsoft_graph_security_get_deployment_package_uri_request_builder.py b/msgraph/generated/security/identities/sensors/microsoft_graph_security_get_deployment_package_uri/microsoft_graph_security_get_deployment_package_uri_request_builder.py new file mode 100644 index 0000000000..7c5cd19d54 --- /dev/null +++ b/msgraph/generated/security/identities/sensors/microsoft_graph_security_get_deployment_package_uri/microsoft_graph_security_get_deployment_package_uri_request_builder.py @@ -0,0 +1,80 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.security.sensor_deployment_package import SensorDeploymentPackage + +class MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the getDeploymentPackageUri method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder 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}/security/identities/sensors/microsoft.graph.security.getDeploymentPackageUri()", path_parameters) + + async def get(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[SensorDeploymentPackage]: + """ + Get the sensor deployment package URL and version. You can use this URL to download the installer to install the sensor on a server. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SensorDeploymentPackage] + """ + 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 .....models.security.sensor_deployment_package import SensorDeploymentPackage + + return await self.request_adapter.send_async(request_info, SensorDeploymentPackage, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Get the sensor deployment package URL and version. You can use this URL to download the installer to install the sensor on a server. + 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) -> MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder: + """ + 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: MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilderGetRequestConfiguration(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/generated/security/identities/sensors/microsoft_graph_security_regenerate_deployment_access_key/microsoft_graph_security_regenerate_deployment_access_key_request_builder.py b/msgraph/generated/security/identities/sensors/microsoft_graph_security_regenerate_deployment_access_key/microsoft_graph_security_regenerate_deployment_access_key_request_builder.py new file mode 100644 index 0000000000..5652b37be0 --- /dev/null +++ b/msgraph/generated/security/identities/sensors/microsoft_graph_security_regenerate_deployment_access_key/microsoft_graph_security_regenerate_deployment_access_key_request_builder.py @@ -0,0 +1,80 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from .....models.o_data_errors.o_data_error import ODataError + from .....models.security.deployment_access_key_type import DeploymentAccessKeyType + +class MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder(BaseRequestBuilder): + """ + Provides operations to call the regenerateDeploymentAccessKey method. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder 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}/security/identities/sensors/microsoft.graph.security.regenerateDeploymentAccessKey", path_parameters) + + async def post(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[DeploymentAccessKeyType]: + """ + Generate a new deployment access key that can be used to install a sensor associated with the workspace. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[DeploymentAccessKeyType] + """ + 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.security.deployment_access_key_type import DeploymentAccessKeyType + + return await self.request_adapter.send_async(request_info, DeploymentAccessKeyType, error_mapping) + + def to_post_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Generate a new deployment access key that can be used to install a sensor associated with the workspace. + 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) -> MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder: + """ + 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: MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder(self.request_adapter, raw_url) + + @dataclass + class MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilderPostRequestConfiguration(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/generated/security/identities/sensors/sensors_request_builder.py b/msgraph/generated/security/identities/sensors/sensors_request_builder.py new file mode 100644 index 0000000000..926e33916c --- /dev/null +++ b/msgraph/generated/security/identities/sensors/sensors_request_builder.py @@ -0,0 +1,238 @@ +from __future__ import annotations +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, Callable, Dict, List, Optional, TYPE_CHECKING, Union +from warnings import warn + +if TYPE_CHECKING: + from ....models.o_data_errors.o_data_error import ODataError + from ....models.security.sensor import Sensor + from ....models.security.sensor_collection_response import SensorCollectionResponse + from .count.count_request_builder import CountRequestBuilder + from .item.sensor_item_request_builder import SensorItemRequestBuilder + from .microsoft_graph_security_get_deployment_access_key.microsoft_graph_security_get_deployment_access_key_request_builder import MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder + from .microsoft_graph_security_get_deployment_package_uri.microsoft_graph_security_get_deployment_package_uri_request_builder import MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder + from .microsoft_graph_security_regenerate_deployment_access_key.microsoft_graph_security_regenerate_deployment_access_key_request_builder import MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder + +class SensorsRequestBuilder(BaseRequestBuilder): + """ + Provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity. + """ + def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, Dict[str, Any]]) -> None: + """ + Instantiates a new SensorsRequestBuilder 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}/security/identities/sensors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", path_parameters) + + def by_sensor_id(self,sensor_id: str) -> SensorItemRequestBuilder: + """ + Provides operations to manage the sensors property of the microsoft.graph.security.identityContainer entity. + param sensor_id: The unique identifier of sensor + Returns: SensorItemRequestBuilder + """ + if sensor_id is None: + raise TypeError("sensor_id cannot be null.") + from .item.sensor_item_request_builder import SensorItemRequestBuilder + + url_tpl_params = get_path_parameters(self.path_parameters) + url_tpl_params["sensor%2Did"] = sensor_id + return SensorItemRequestBuilder(self.request_adapter, url_tpl_params) + + async def get(self,request_configuration: Optional[RequestConfiguration[SensorsRequestBuilderGetQueryParameters]] = None) -> Optional[SensorCollectionResponse]: + """ + Get a list of sensor objects and their properties. + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[SensorCollectionResponse] + Find more info here: https://learn.microsoft.com/graph/api/security-identitycontainer-list-sensors?view=graph-rest-1.0 + """ + 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 ....models.security.sensor_collection_response import SensorCollectionResponse + + return await self.request_adapter.send_async(request_info, SensorCollectionResponse, error_mapping) + + async def post(self,body: Sensor, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[Sensor]: + """ + Create new navigation property to sensors for security + param body: The request body + param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. + Returns: Optional[Sensor] + """ + 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.security.sensor import Sensor + + return await self.request_adapter.send_async(request_info, Sensor, error_mapping) + + def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[SensorsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: + """ + Get a list of sensor objects and their properties. + 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 to_post_request_information(self,body: Sensor, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: + """ + Create new navigation property to sensors for security + 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) -> SensorsRequestBuilder: + """ + 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: SensorsRequestBuilder + """ + if raw_url is None: + raise TypeError("raw_url cannot be null.") + return SensorsRequestBuilder(self.request_adapter, raw_url) + + @property + def count(self) -> CountRequestBuilder: + """ + Provides operations to count the resources in the collection. + """ + from .count.count_request_builder import CountRequestBuilder + + return CountRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def microsoft_graph_security_get_deployment_access_key(self) -> MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder: + """ + Provides operations to call the getDeploymentAccessKey method. + """ + from .microsoft_graph_security_get_deployment_access_key.microsoft_graph_security_get_deployment_access_key_request_builder import MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder + + return MicrosoftGraphSecurityGetDeploymentAccessKeyRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def microsoft_graph_security_get_deployment_package_uri(self) -> MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder: + """ + Provides operations to call the getDeploymentPackageUri method. + """ + from .microsoft_graph_security_get_deployment_package_uri.microsoft_graph_security_get_deployment_package_uri_request_builder import MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder + + return MicrosoftGraphSecurityGetDeploymentPackageUriRequestBuilder(self.request_adapter, self.path_parameters) + + @property + def microsoft_graph_security_regenerate_deployment_access_key(self) -> MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder: + """ + Provides operations to call the regenerateDeploymentAccessKey method. + """ + from .microsoft_graph_security_regenerate_deployment_access_key.microsoft_graph_security_regenerate_deployment_access_key_request_builder import MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder + + return MicrosoftGraphSecurityRegenerateDeploymentAccessKeyRequestBuilder(self.request_adapter, self.path_parameters) + + @dataclass + class SensorsRequestBuilderGetQueryParameters(): + """ + Get a list of sensor objects and their properties. + """ + 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 == "expand": + return "%24expand" + if original_name == "filter": + return "%24filter" + if original_name == "orderby": + return "%24orderby" + if original_name == "search": + return "%24search" + if original_name == "select": + return "%24select" + if original_name == "skip": + return "%24skip" + if original_name == "top": + return "%24top" + return original_name + + # Include count of items + count: Optional[bool] = None + + # Expand related entities + expand: Optional[List[str]] = None + + # Filter items by property values + filter: Optional[str] = None + + # Order items by property values + orderby: Optional[List[str]] = None + + # Search items by search phrases + search: Optional[str] = None + + # Select properties to be returned + select: Optional[List[str]] = None + + # Skip the first n items + skip: Optional[int] = None + + # Show only the first n items + top: Optional[int] = None + + + @dataclass + class SensorsRequestBuilderGetRequestConfiguration(RequestConfiguration[SensorsRequestBuilderGetQueryParameters]): + """ + 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) + + @dataclass + class SensorsRequestBuilderPostRequestConfiguration(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/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_item_request_builder.py b/msgraph/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_item_request_builder.py index a98d0a7e3b..83d56fc85e 100644 --- a/msgraph/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_item_request_builder.py +++ b/msgraph/generated/solutions/virtual_events/townhalls/item/virtual_event_townhall_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[VirtualEventTownhallItemRequestBuilderGetQueryParameters]] = None) -> Optional[VirtualEventTownhall]: """ - Read the properties and relationships of a virtualEventTownhall object. + Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventTownhall] Find more info here: https://learn.microsoft.com/graph/api/virtualeventtownhall-get?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE async def patch(self,body: VirtualEventTownhall, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[VirtualEventTownhall]: """ - Update the properties of a virtualEventTownhall object. + Update the properties of a virtualEventTownhall object. Only the Organizer and Co-organizer can make changes to a townhall event. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventTownhall] @@ -107,7 +107,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[VirtualEventTownhallItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a virtualEventTownhall object. + Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -118,7 +118,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: VirtualEventTownhall, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a virtualEventTownhall object. + Update the properties of a virtualEventTownhall object. Only the Organizer and Co-organizer can make changes to a townhall event. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -169,7 +169,7 @@ class VirtualEventTownhallItemRequestBuilderDeleteRequestConfiguration(RequestCo @dataclass class VirtualEventTownhallItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a virtualEventTownhall object. + Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py b/msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py index 4eb2a62389..fd61579f77 100644 --- a/msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py +++ b/msgraph/generated/solutions/virtual_events/townhalls/townhalls_request_builder.py @@ -48,7 +48,7 @@ def by_virtual_event_townhall_id(self,virtual_event_townhall_id: str) -> Virtual async def get(self,request_configuration: Optional[RequestConfiguration[TownhallsRequestBuilderGetQueryParameters]] = None) -> Optional[VirtualEventTownhallCollectionResponse]: """ - Read the properties and relationships of a virtualEventTownhall object. + Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventTownhallCollectionResponse] """ @@ -92,7 +92,7 @@ async def post(self,body: VirtualEventTownhall, request_configuration: Optional[ def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[TownhallsRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a virtualEventTownhall object. + Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. 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 TownhallsRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a virtualEventTownhall object. + Read the properties and relationships of a virtualEventTownhall object. All roles can get the details of a townhall event. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py b/msgraph/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py index 02e96e8233..b6c8d6536b 100644 --- a/msgraph/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py +++ b/msgraph/generated/solutions/virtual_events/webinars/item/virtual_event_webinar_item_request_builder.py @@ -55,7 +55,7 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[VirtualEventWebinarItemRequestBuilderGetQueryParameters]] = None) -> Optional[VirtualEventWebinar]: """ - Read the properties and relationships of a virtualEventWebinar object. + Read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventWebinar] Find more info here: https://learn.microsoft.com/graph/api/virtualeventwebinar-get?view=graph-rest-1.0 @@ -76,7 +76,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[VirtualE async def patch(self,body: VirtualEventWebinar, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[VirtualEventWebinar]: """ - Update the properties of a virtualEventWebinar object. + Update the properties of a virtualEventWebinar object. Only the Organizer and Co-organizer can make changes to a webinar event. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[VirtualEventWebinar] @@ -135,7 +135,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[VirtualEventWebinarItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Read the properties and relationships of a virtualEventWebinar object. + Read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -146,7 +146,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: VirtualEventWebinar, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update the properties of a virtualEventWebinar object. + Update the properties of a virtualEventWebinar object. Only the Organizer and Co-organizer can make changes to a webinar event. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation @@ -215,7 +215,7 @@ class VirtualEventWebinarItemRequestBuilderDeleteRequestConfiguration(RequestCon @dataclass class VirtualEventWebinarItemRequestBuilderGetQueryParameters(): """ - Read the properties and relationships of a virtualEventWebinar object. + Read the properties and relationships of a virtualEventWebinar object. All roles can get the details of a webinar event. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/teams/item/channels/item/members/members_request_builder.py b/msgraph/generated/teams/item/channels/item/members/members_request_builder.py index 17955e2056..94f5a63775 100644 --- a/msgraph/generated/teams/item/channels/item/members/members_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/members/members_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[MembersR async def post(self,body: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ConversationMember]: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Add a conversationMember to a 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-post-members?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0 """ 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: ConversationMember, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + Add a conversationMember to a 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/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py index 24ede89989..2c4e885afc 100644 --- a/msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/messages/item/replies/replies_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[RepliesR async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Create a new reply to a chatMessage in a specified channel. + Send a new reply to a chatMessage in a specified channel. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0 """ 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: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Create a new reply to a chatMessage in a specified channel. + Send a new reply to a chatMessage in a specified 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/generated/teams/item/channels/item/messages/messages_request_builder.py b/msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py index b415abbc14..216cb57796 100644 --- a/msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py +++ b/msgraph/generated/teams/item/channels/item/messages/messages_request_builder.py @@ -70,11 +70,11 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Messages async def post(self,body: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[ChatMessage]: """ - Send a new chatMessage in the specified channel. + Send a new chatMessage in the specified channel or a chat. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[ChatMessage] - Find more info here: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0 """ 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: ChatMessage, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Send a new chatMessage in the specified channel. + Send a new chatMessage in the specified channel or a chat. 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/generated/users/item/authentication/email_methods/email_methods_request_builder.py b/msgraph/generated/users/item/authentication/email_methods/email_methods_request_builder.py index 5acc04afcb..cca8d00c95 100644 --- a/msgraph/generated/users/item/authentication/email_methods/email_methods_request_builder.py +++ b/msgraph/generated/users/item/authentication/email_methods/email_methods_request_builder.py @@ -68,7 +68,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[EmailMet async def post(self,body: EmailAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EmailAuthenticationMethod]: """ - Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. + Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. Self-service operations aren't supported. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailAuthenticationMethod] @@ -103,7 +103,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_post_request_information(self,body: EmailAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. + Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. Self-service operations aren't supported. 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/generated/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.py b/msgraph/generated/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.py index 98afd25380..7b03966599 100644 --- a/msgraph/generated/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.py +++ b/msgraph/generated/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.py @@ -70,7 +70,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[EmailAut async def patch(self,body: EmailAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[EmailAuthenticationMethod]: """ - Update a user's email address represented by an emailAuthenticationMethod object. + Update a user's email address represented by an emailAuthenticationMethod object. Self-service operations aren't supported. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[EmailAuthenticationMethod] @@ -116,7 +116,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: EmailAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update a user's email address represented by an emailAuthenticationMethod object. + Update a user's email address represented by an emailAuthenticationMethod object. Self-service operations aren't supported. 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/generated/users/item/authentication/microsoft_authenticator_methods/item/microsoft_authenticator_authentication_method_item_request_builder.py b/msgraph/generated/users/item/authentication/microsoft_authenticator_methods/item/microsoft_authenticator_authentication_method_item_request_builder.py index c9d8e6e37b..868651e7bf 100644 --- a/msgraph/generated/users/item/authentication/microsoft_authenticator_methods/item/microsoft_authenticator_authentication_method_item_request_builder.py +++ b/msgraph/generated/users/item/authentication/microsoft_authenticator_methods/item/microsoft_authenticator_authentication_method_item_request_builder.py @@ -32,7 +32,7 @@ def __init__(self,request_adapter: RequestAdapter, path_parameters: Union[str, D async def delete(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> None: """ - Deletes a microsoftAuthenticatorAuthenticationMethod object. + Delete a microsoftAuthenticatorAuthenticationMethod 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/microsoftauthenticatorauthenticationmethod-delete?view=graph-rest-1.0 @@ -72,7 +72,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[Microsof def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Deletes a microsoftAuthenticatorAuthenticationMethod object. + Delete a microsoftAuthenticatorAuthenticationMethod object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ diff --git a/msgraph/generated/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.py b/msgraph/generated/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.py index 9bd87d8233..7902c2a623 100644 --- a/msgraph/generated/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.py +++ b/msgraph/generated/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.py @@ -71,7 +71,7 @@ async def get(self,request_configuration: Optional[RequestConfiguration[PhoneAut async def patch(self,body: PhoneAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> Optional[PhoneAuthenticationMethod]: """ - Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. + Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. Self-service operations aren't supported. param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[PhoneAuthenticationMethod] @@ -117,7 +117,7 @@ def to_get_request_information(self,request_configuration: Optional[RequestConfi def to_patch_request_information(self,body: PhoneAuthenticationMethod, request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. + Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. Self-service operations aren't supported. 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/generated/users/item/presence/presence_request_builder.py b/msgraph/generated/users/item/presence/presence_request_builder.py index 73f9ae71d3..b61915616e 100644 --- a/msgraph/generated/users/item/presence/presence_request_builder.py +++ b/msgraph/generated/users/item/presence/presence_request_builder.py @@ -54,10 +54,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[PresenceRequestBuilderGetQueryParameters]] = None) -> Optional[Presence]: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[Presence] - Find more info here: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/presence-get?view=graph-rest-1.0 """ 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[PresenceRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -198,7 +198,7 @@ class PresenceRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class PresenceRequestBuilderGetQueryParameters(): """ - Set a presence status message for a user. An optional expiration date and time can be supplied. + Get a user's presence information. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/item/user_item_request_builder.py b/msgraph/generated/users/item/user_item_request_builder.py index ec2d9f6927..99a663c022 100644 --- a/msgraph/generated/users/item/user_item_request_builder.py +++ b/msgraph/generated/users/item/user_item_request_builder.py @@ -107,10 +107,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 user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. 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/user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -141,10 +141,10 @@ def export_device_and_app_management_data_with_skip_with_top(self,skip: int, top async def get(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> Optional[User]: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -166,7 +166,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -201,7 +201,7 @@ def reminder_view_with_start_date_time_with_end_date_time(self,end_date_time: st def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -212,7 +212,7 @@ def to_delete_request_information(self,request_configuration: Optional[RequestCo def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UserItemRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -922,7 +922,7 @@ class UserItemRequestBuilderDeleteRequestConfiguration(RequestConfiguration[Quer @dataclass class UserItemRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users/users_request_builder.py b/msgraph/generated/users/users_request_builder.py index 256b49574e..b69ce5ed44 100644 --- a/msgraph/generated/users/users_request_builder.py +++ b/msgraph/generated/users/users_request_builder.py @@ -52,10 +52,10 @@ def by_user_id(self,user_id: str) -> UserItemRequestBuilder: async def get(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> Optional[UserCollectionResponse]: """ - Retrieve a list of user objects. + List properties and relationships of the user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[UserCollectionResponse] - Find more info here: https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-list?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -77,7 +77,7 @@ async def post(self,body: User, request_configuration: Optional[RequestConfigura param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-create?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-create?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -97,7 +97,7 @@ async def post(self,body: User, request_configuration: Optional[RequestConfigura def to_get_request_information(self,request_configuration: Optional[RequestConfiguration[UsersRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve a list of user objects. + List properties and relationships of the user objects. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -179,7 +179,7 @@ def validate_properties(self) -> ValidatePropertiesRequestBuilder: @dataclass class UsersRequestBuilderGetQueryParameters(): """ - Retrieve a list of user objects. + List properties and relationships of the user objects. """ def get_query_parameter(self,original_name: str) -> str: """ diff --git a/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py b/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py index 63fd3598b6..32162627b4 100644 --- a/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py +++ b/msgraph/generated/users_with_user_principal_name/users_with_user_principal_name_request_builder.py @@ -34,10 +34,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 user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. 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/user-delete?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-delete?view=graph-rest-1.0 """ request_info = self.to_delete_request_information( request_configuration @@ -53,10 +53,10 @@ async def delete(self,request_configuration: Optional[RequestConfiguration[Query async def get(self,request_configuration: Optional[RequestConfiguration[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> Optional[User]: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/intune-mam-user-get?view=graph-rest-1.0 """ request_info = self.to_get_request_information( request_configuration @@ -78,7 +78,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur param body: The request body param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: Optional[User] - Find more info here: https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0 + Find more info here: https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0 """ if body is None: raise TypeError("body cannot be null.") @@ -98,7 +98,7 @@ async def patch(self,body: User, request_configuration: Optional[RequestConfigur def to_delete_request_information(self,request_configuration: Optional[RequestConfiguration[QueryParameters]] = None) -> RequestInformation: """ - Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems. + Deletes a user. 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[UsersWithUserPrincipalNameRequestBuilderGetQueryParameters]] = None) -> RequestInformation: """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. param request_configuration: Configuration for the request such as headers, query parameters, and middleware options. Returns: RequestInformation """ @@ -153,7 +153,7 @@ class UsersWithUserPrincipalNameRequestBuilderDeleteRequestConfiguration(Request @dataclass class UsersWithUserPrincipalNameRequestBuilderGetQueryParameters(): """ - Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + Read properties and relationships of the user object. """ def get_query_parameter(self,original_name: str) -> str: """