检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
echo $value; ?> 其中,{redis_instance_address}为Redis实例真实的IP地址/域名,{port}为Redis实例真实的端口。IP地址/域名和端口获取见1,请按实际情况修改后执行。{password}为创建Redis实例时自定义的密码,请按实际情况修
build(); DeleteConfigTemplateRequest request = new DeleteConfigTemplateRequest(); request.withTemplateId("{template_id}");
request.withBody(body); try { CreateMigrationTaskResponse response = client.createMigrationTask(request);
request = ScanExpireKeyRequest() request.instance_id = "{instance_id}" response = client.scan_expire_key(request)
.build(); HangUpClientsRequest request = new HangUpClientsRequest(); request.withInstanceId("{instance_id}"); Ha
build() try: request = HangUpKillAllClientsRequest() request.instance_id = "{instance_id}" request.body = HangUpKillAl
build(); UpdateConfigTemplateRequest request = new UpdateConfigTemplateRequest(); request.withTemplateId("{template_id}");
LinkRequest request = new CreateRedislogDownloadLinkRequest(); request.withInstanceId("{instance_id}"); request.withId("{id}");
build() try: request = RestoreInstanceRequest() request.instance_id = "{instance_id}" request.body = RestoreInstanceBody(
build() try: request = ScanClientsRequest() request.instance_id = "{instance_id}" request.body = ScanClientsRequestBody(
group_id String 分片ID。 group_name String 分片名称。 is_remove_ip Boolean 是否从只读域名中摘除IP。 replication_id String 副本ID。 dimensions Array of InstanceReplicationDimensionsInfo
DeleteBigkeyScanTaskRequest request = new DeleteBigkeyScanTaskRequest(); request.withInstanceId("{instance_id}"); request.withBigkeyId("{bigkey_id}");
try: request = ShowTagsRequest() request.instance_id = "{instance_id}" response = client.show_tags(request) print(response)
连接方式连通网络,具体请参考常见问题:缓存实例是否支持跨VPC访问? 如果弹性云服务器与Memcached实例配置了不同的安全组,可以通过设置安全组规则连通网络,具体请参考常见问题:如何选择和配置安全组? 您的弹性云服务器已安装好Java JDK和常用的IDE(如Eclipse)。
build(); ListInstanceOperationsRequest request = new ListInstanceOperationsRequest(); request.withInstanceId("{instance_id}");
try: request = ShowJobInfoRequest() request.job_id = "{job_id}" response = client.show_job_info(request) print(response)
tailsRequest request = new ShowBigkeyScanTaskDetailsRequest(); request.withInstanceId("{instance_id}"); request.withBigkeyId("{bigkey_id}");
try: request = UpdateExpireAutoScanConfigRequest() request.instance_id = "{instance_id}" request.body = UpdateAut
build() try: request = ListConfigTemplatesRequest() response = client.list_config_templates(request) print(response)
DeleteHotkeyScanTaskRequest request = new DeleteHotkeyScanTaskRequest(); request.withInstanceId("{instance_id}"); request.withHotkeyId("{hotkey_id}");