test_hypervisor_configuration
async
¶
test_hypervisor_configuration(
gateway_arn: GatewayArn,
host: Host,
*,
config_overrides: Optional[AsyncBackupGatewayClientConfig] = None,
username: Optional[Username] = None,
password: Optional[Password] = None,
) -> TestHypervisorConfigurationOutput
Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.
Parameters:
-
gateway_arn(GatewayArn) –The Amazon Resource Name (ARN) of the gateway to the hypervisor to test.
-
host(Host) –The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
-
username(Optional[Username], default:None) –The username for the hypervisor.
-
password(Optional[Password], default:None) –The password for the hypervisor.
Raises:
-
InternalServerException–The operation did not succeed because an internal error occurred. Try again later.
-
ThrottlingException–TPS has been limited to protect against intentional or unintentional high request volumes.
-
ValidationException–The operation did not succeed because a validation error occurred.
-
ConflictException–The operation cannot proceed because it is not supported.
-
ResourceNotFoundException–A resource that is required for the action wasn't found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup_gateway/_services/async_backup_gateway.py
964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 | |