import_hypervisor_configuration
async
¶
import_hypervisor_configuration(
name: Name,
host: Host,
*,
config_overrides: Optional[AsyncBackupGatewayClientConfig] = None,
username: Optional[Username] = None,
password: Optional[Password] = None,
kms_key_arn: Optional[KmsKeyArn] = None,
tags: Optional[Tags] = None,
) -> ImportHypervisorConfigurationOutput
Connect to a hypervisor by importing its configuration.
Parameters:
-
name(Name) –The name of the hypervisor.
-
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.
-
kms_key_arn(Optional[KmsKeyArn], default:None) –The Key Management Service for the hypervisor.
-
tags(Optional[Tags], default:None) –The tags of the hypervisor configuration to import.
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.
-
AccessDeniedException–The operation cannot proceed because you have insufficient permissions.
-
ConflictException–The operation cannot proceed because it is not supported.
-
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
1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 | |