update_directory_config
¶
update_directory_config(
*,
config_overrides: Optional[AppStreamClientConfig] = 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/app_stream.py
5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 | |