ServiceProviderDeviceProfileAuthenticationPasswordRulesModifyRequest
Bases: OCIRequest
Request to modify the service provider level device profile authentication password rule settings. The useServiceProviderSettings element can only be modified by a system administrator or a provisioning administrator. The response is either SuccessResponse or ErrorResponse.
Attributes:
service_provider_id (str):
use_service_provider_settings (Optional[bool]):
disallow_authentication_name (Optional[bool]):
disallow_old_password (Optional[bool]):
disallow_reversed_old_password (Optional[bool]):
restrict_min_digits (Optional[bool]):
min_digits (Optional[int]):
restrict_min_upper_case_letters (Optional[bool]):
min_upper_case_letters (Optional[int]):
restrict_min_lower_case_letters (Optional[bool]):
min_lower_case_letters (Optional[int]):
restrict_min_non_alphanumeric_characters (Optional[bool]):
min_non_alphanumeric_characters (Optional[int]):
min_length (Optional[int]):
send_permanent_lockout_notification (Optional[bool]):
permanent_lockout_notify_email_address (Optional[Nillable[str]]):
device_profile_authentication_lockout_type (Optional[str]):
device_profile_temporary_lockout_threshold (Optional[int]):
device_profile_wait_algorithm (Optional[str]):
device_profile_lockout_fixed_minutes (Optional[str]):
device_profile_permanent_lockout_threshold (Optional[int]):
use_password_validation_service (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
65671 65672 65673 65674 65675 65676 65677 65678 65679 65680 65681 65682 65683 65684 65685 65686 65687 65688 65689 65690 65691 65692 65693 65694 65695 65696 65697 65698 65699 65700 65701 65702 65703 65704 65705 65706 65707 65708 65709 65710 65711 65712 65713 65714 65715 65716 65717 65718 65719 65720 65721 65722 65723 65724 65725 65726 65727 65728 65729 65730 65731 65732 65733 65734 65735 65736 65737 65738 65739 65740 65741 65742 65743 65744 65745 65746 65747 65748 65749 65750 65751 65752 65753 65754 65755 65756 65757 65758 65759 65760 65761 65762 65763 65764 65765 65766 65767 65768 65769 65770 65771 65772 65773 65774 65775 65776 65777 65778 65779 65780 65781 65782 65783 65784 65785 65786 65787 65788 65789 65790 65791 65792 65793 65794 65795 65796 65797 65798 65799 65800 65801 65802 65803 65804 65805 65806 65807 65808 65809 65810 65811 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import ServiceProviderDeviceProfileAuthenticationPasswordRulesModifyRequest
client = Client()
command = ServiceProviderDeviceProfileAuthenticationPasswordRulesModifyRequest(
service_provider_id=...,
use_service_provider_settings=...,
disallow_authentication_name=...,
disallow_old_password=...,
disallow_reversed_old_password=...,
restrict_min_digits=...,
min_digits=...,
restrict_min_upper_case_letters=...,
min_upper_case_letters=...,
restrict_min_lower_case_letters=...,
min_lower_case_letters=...,
restrict_min_non_alphanumeric_characters=...,
min_non_alphanumeric_characters=...,
min_length=...,
send_permanent_lockout_notification=...,
permanent_lockout_notify_email_address=...,
device_profile_authentication_lockout_type=...,
device_profile_temporary_lockout_threshold=...,
device_profile_wait_algorithm=...,
device_profile_lockout_fixed_minutes=...,
device_profile_permanent_lockout_threshold=...,
use_password_validation_service=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("ServiceProviderDeviceProfileAuthenticationPasswordRulesModifyRequest",
service_provider_id=...,
use_service_provider_settings=...,
disallow_authentication_name=...,
disallow_old_password=...,
disallow_reversed_old_password=...,
restrict_min_digits=...,
min_digits=...,
restrict_min_upper_case_letters=...,
min_upper_case_letters=...,
restrict_min_lower_case_letters=...,
min_lower_case_letters=...,
restrict_min_non_alphanumeric_characters=...,
min_non_alphanumeric_characters=...,
min_length=...,
send_permanent_lockout_notification=...,
permanent_lockout_notify_email_address=...,
device_profile_authentication_lockout_type=...,
device_profile_temporary_lockout_threshold=...,
device_profile_wait_algorithm=...,
device_profile_lockout_fixed_minutes=...,
device_profile_permanent_lockout_threshold=...,
use_password_validation_service=...,
)
print(response)