update_directory_config
async
¶
update_directory_config(
*,
config_overrides: Optional[AsyncAppStreamClientConfig] = None,
directory_name: Optional[DirectoryName] = None,
organizational_unit_distinguished_names: Optional[
OrganizationalUnitDistinguishedNamesList
] = None,
service_account_credentials: Optional[ServiceAccountCredentials] = None,
certificate_based_auth_properties: Optional[CertificateBasedAuthProperties] = None,
) -> UpdateDirectoryConfigResult
Updates the specified Directory Config object in WorkSpaces Applications. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
Parameters:
-
directory_name(Optional[DirectoryName], default:None) –The name of the Directory Config object.
-
organizational_unit_distinguished_names(Optional[OrganizationalUnitDistinguishedNamesList], default:None) –The distinguished names of the organizational units for computer accounts.
-
service_account_credentials(Optional[ServiceAccountCredentials], default:None) –The credentials for the service account used by the fleet or image builder to connect to the directory.
-
certificate_based_auth_properties(Optional[CertificateBasedAuthProperties], default:None) –The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
Raises:
-
ConcurrentModificationException–An API error occurred. Wait a few minutes and try again.
-
IncompatibleImageException–The image can't be updated because it's not compatible for updates.
-
InvalidRoleException–The specified role is invalid.
-
OperationNotPermittedException–The attempted operation is not permitted.
-
ResourceInUseException–The specified resource is in use.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appstream/_services/async_app_stream.py
5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 | |