test_hypervisor_configuration
¶
test_hypervisor_configuration(
gateway_arn: GatewayArn,
host: Host,
*,
config_overrides: Optional[BackupGatewayClientConfig] = 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/backup_gateway.py
942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 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 | |