update_radius
¶
update_radius(
directory_id: DirectoryId,
radius_settings: RadiusSettings,
*,
config_overrides: Optional[DirectoryServiceClientConfig] = None,
) -> UpdateRadiusResult
Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector or Microsoft AD directory.
Parameters:
-
directory_id(DirectoryId) –The identifier of the directory for which to update the RADIUS server information.
-
radius_settings(RadiusSettings) –A RadiusSettings object that contains information about the RADIUS server.
Raises:
-
ClientException–A client exception has occurred.
-
EntityDoesNotExistException–The specified entity could not be found.
-
InvalidParameterException–One or more parameters are not valid.
-
ServiceException–An exception has occurred in Directory Service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To update Radius The following example updates the Remote Authentication Dial In User Service (RADIUS) server settings for an AD Connector directory.
>>> client.update_radius(directory_id='d-92654abfed', radius_settings={'DisplayLabel': 'MyRadius', 'UseSameUsername': True, 'RadiusTimeout': 1, 'AuthenticationProtocol': 'PAP', 'RadiusPort': 1027, 'RadiusRetries': 1, 'SharedSecret': '12345678', 'RadiusServers': ['172.168.101.113']})
Source code in docs_src/capo_directory_service/_services/directory_service.py
5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 | |