#服务 #客户端 #API 客户端 #访问 #版本 #开放 API #exoscale

exoscale-rs

使用 openapi-generator 生成的 Exoscale API 客户端库

2 个稳定版本

2.0.4 2024 年 1 月 7 日
2.0.3 2023 年 10 月 21 日
2.0.1 2023 年 10 月 1 日
2.0.0 2023 年 9 月 30 日

#754数据库接口

MIT 许可证

1MB
21K SLoC

Exoscale API 的 Rust API 客户端

基础设施自动化 API,允许以编程方式访问所有 Exoscale 产品和服务。

此文档的 OpenAPI 规范源代码可在以下位置获得

有关更多信息,请访问 https://exoscale.com

概述

此 API 客户端由 OpenAPI Generator 项目生成。通过使用来自远程服务器的 openapi-spec,您可以轻松生成 API 客户端。

  • API 版本:2.0.0
  • 包版本:2.0.0
  • 构建包:org.openapitools.codegen.languages.RustClientCodegen

安装

将包放在您的项目文件夹中名为 openapi 的目录下,并在 Cargo.toml 下的 [dependencies] 中添加以下内容

openapi = { path = "./openapi" }

API 端点文档

所有 URI 都相对于 https://api-ch-gva-2.exoscale.com/v2

方法 HTTP 请求 描述
AntiAffinityGroupApi create_anti_affinity_group POST /anti-affinity-group 创建反亲和性组
AntiAffinityGroupApi delete_anti_affinity_group DELETE /anti-affinity-group/{id} 删除反亲和性组
AntiAffinityGroupApi get_anti_affinity_group GET /anti-affinity-group/{id} 检索反亲和性组详情
AntiAffinityGroupApi list_anti_affinity_groups GET /anti-affinity-group 列出反亲和性组
ComputeApi reset_load_balancer_service_field DELETE /load-balancer/{id}/service/{service_id}/{field} 将负载均衡器服务字段重置为其默认值
DbaasApi create_dbaas_integration POST /dbaas-integration 在两个服务之间创建新的 DBaaS 集成
DbaasApi create_dbaas_kafka_schema_registry_acl_config POST /dbaas-kafka/{name}/schema-registry/acl-config 添加 Kafka Schema Registry ACL 条目
DbaasApi create_dbaas_kafka_topic_acl_config POST /dbaas-kafka/{name}/topic/acl-config 添加 Kafka 主题 ACL 条目
DbaasApi create_dbaas_kafka_user POST /dbaas-kafka/{service_name}/user 创建DBaaS Kafka用户
DbaasApi create_dbaas_mysql_database POST /dbaas-mysql/{service_name}/database 创建DBaaS MySQL数据库
DbaasApi create_dbaas_mysql_user POST /dbaas-mysql/{service_name}/user 创建DBaaS MySQL用户
DbaasApi create_dbaas_opensearch_user POST /dbaas-opensearch/{service_name}/user 创建DBaaS OpenSearch用户
DbaasApi create_dbaas_pg_connection_pool POST /dbaas-postgres/{service_name}/connection-pool 创建DBaaS PostgreSQL连接池
DbaasApi create_dbaas_pg_database POST /dbaas-postgres/{service_name}/database 创建DBaaS Postgres数据库
DbaasApi create_dbaas_pg_upgrade_check POST /dbaas-postgres/{service}/upgrade-check
DbaasApi create_dbaas_postgres_user POST /dbaas-postgres/{service_name}/user 创建DBaaS Postgres用户
DbaasApi create_dbaas_service_grafana POST /dbaas-grafana/{name}
DbaasApi create_dbaas_service_kafka POST /dbaas-kafka/{name} 创建DBaaS Kafka服务
DbaasApi create_dbaas_service_mysql POST /dbaas-mysql/{name} 创建DBaaS MySQL服务
DbaasApi create_dbaas_service_opensearch POST /dbaas-opensearch/{name} 创建DBaaS OpenSearch服务
DbaasApi create_dbaas_service_pg POST /dbaas-postgres/{name} 创建DBaaS PostgreSQL服务
DbaasApi create_dbaas_service_redis POST /dbaas-redis/{name} 创建DBaaS Redis服务
DbaasApi create_dbaas_task_migration_check POST /dbaas-task-migration-check/{service}
DbaasApi delete_dbaas_integration DELETE /dbaas-integration/{id} 删除DBaaS集成
DbaasApi delete_dbaas_kafka_schema_registry_acl_config DELETE /dbaas-kafka/{name}/schema-registry/acl-config/{acl_id} 删除Kafka ACL条目
DbaasApi delete_dbaas_kafka_topic_acl_config DELETE /dbaas-kafka/{name}/topic/acl-config/{acl_id} 删除Kafka ACL条目
DbaasApi delete_dbaas_kafka_user DELETE /dbaas-kafka/{service_name}/user/{username} 删除DBaaS Kafka用户
DbaasApi delete_dbaas_mysql_database DELETE /dbaas-mysql/{service_name}/database/{database_name} 删除DBaaS MySQL数据库
DbaasApi delete_dbaas_mysql_user DELETE /dbaas-mysql/{service_name}/user/{username} 删除DBaaS MySQL用户
DbaasApi delete_dbaas_opensearch_user DELETE /dbaas-opensearch/{service_name}/user/{username} 删除DBaaS OpenSearch用户
DbaasApi delete_dbaas_pg_connection_pool DELETE /dbaas-postgres/{service_name}/connection-pool/{connection_pool_name} 删除DBaaS PostgreSQL连接池
DbaasApi delete_dbaas_pg_database DELETE /dbaas-postgres/{service_name}/database/{database_name} 删除DBaaS Postgres数据库
DbaasApi delete_dbaas_postgres_user DELETE /dbaas-postgres/{service_name}/user/{username} 删除DBaaS Postgres用户
DbaasApi delete_dbaas_service DELETE /dbaas-service/{name} 删除DBaaS服务
DbaasApi delete_dbaas_service_grafana DELETE /dbaas-grafana/{name} 删除Grafana服务
DbaasApi delete_dbaas_service_kafka DELETE /dbaas-kafka/{name} 删除Kafka服务
DbaasApi delete_dbaas_service_mysql DELETE /dbaas-mysql/{name} 删除MySQL服务
DbaasApi delete_dbaas_service_opensearch DELETE /dbaas-opensearch/{name} 删除OpenSearch服务
DbaasApi delete_dbaas_service_pg DELETE /dbaas-postgres/{name} 删除PostgreSQL服务
DbaasApi delete_dbaas_service_redis DELETE /dbaas-redis/{name} 删除Redis服务
DbaasApi get_dbaas_ca_certificate GET /dbaas-ca-certificate 获取DBaaS CA证书
DbaasApi get_dbaas_integration GET /dbaas-integration/{id} 获取DBaaS集成
DbaasApi get_dbaas_kafka_acl_config GET /dbaas-kafka/{name}/acl-config 获取DBaaS Kafka ACL配置
DbaasApi get_dbaas_migration_status GET /dbaas-migration-status/{name} 获取DBaaS迁移状态
DbaasApi get_dbaas_opensearch_acl_config GET /dbaas-opensearch/{name}/acl-config 获取DBaaS OpenSearch ACL配置
DbaasApi get_dbaas_service_grafana GET /dbaas-grafana/{name} 获取DBaaS Grafana服务
DbaasApi get_dbaas_service_kafka GET /dbaas-kafka/{name} 获取DBaaS Kafka服务
DbaasApi get_dbaas_service_logs POST /dbaas-service-logs/{service_name} 获取DBaaS服务的日志
DbaasApi get_dbaas_service_metrics POST /dbaas-service-metrics/{service_name} 获取DBaaS服务的指标
DbaasApi get_dbaas_service_mysql GET /dbaas-mysql/{name} 获取DBaaS MySQL服务
DbaasApi get_dbaas_service_opensearch GET /dbaas-opensearch/{name} 获取DBaaS OpenSearch服务
DbaasApi get_dbaas_service_pg GET /dbaas-postgres/{name} 获取DBaaS PostgreSQL服务
DbaasApi get_dbaas_service_redis GET /dbaas-redis/{name} 获取DBaaS Redis服务
DbaasApi get_dbaas_service_type GET /dbaas-service-type/{service-type_name} 获取DBaaS服务类型
DbaasApi get_dbaas_settings_grafana GET /dbaas-settings-grafana 获取DBaaS Grafana设置
DbaasApi get_dbaas_settings_kafka GET /dbaas-settings-kafka 获取DBaaS Kafka设置
DbaasApi get_dbaas_settings_mysql GET /dbaas-settings-mysql 获取DBaaS MySQL设置
DbaasApi get_dbaas_settings_opensearch GET /dbaas-settings-opensearch 获取DBaaS OpenSearch设置
DbaasApi get_dbaas_settings_pg GET /dbaas-settings-pg 获取DBaaS PostgreSQL设置
DbaasApi get_dbaas_settings_redis GET /dbaas-settings-redis 获取DBaaS Redis设置
DbaasApi get_dbaas_task GET /dbaas-task/{service}/{id} 获取DBaaS任务
DbaasApi list_dbaas_integration_settings GET /dbaas-integration-settings/{integration-type}/{source-type}/{dest-type} 获取DBaaS集成设置
DbaasApi list_dbaas_integration_types GET /dbaas-integration-types 获取DBaaS集成类型
DbaasApi list_dbaas_service_types GET /dbaas-service-type DBaaS服务类型
DbaasApi list_dbaas_services GET /dbaas-service 列出DBaaS服务
DbaasApi reset_dbaas_kafka_user_password PUT /dbaas-kafka/{service_name}/user/{username}/password/reset 重置DBaaS Kafka用户的凭证
DbaasApi reset_dbaas_mysql_user_password PUT /dbaas-mysql/{service_name}/user/{username}/password/reset 重置DBaaS mysql用户的凭证
DbaasApi reset_dbaas_opensearch_user_password PUT /dbaas-opensearch/{service_name}/user/{username}/password/reset 重置DBaaS OpenSearch用户的凭证
DbaasApi reset_dbaas_postgres_user_password PUT /dbaas-postgres/{service_name}/user/{username}/password/reset 重置DBaaS Postgres用户的凭证
DbaasApi start_dbaas_grafana_maintenance PUT /dbaas-grafana/{name}/maintenance/start 启动Grafana维护更新
DbaasApi start_dbaas_kafka_maintenance PUT /dbaas-kafka/{name}/maintenance/start 启动Kafka维护更新
DbaasApi start_dbaas_mysql_maintenance PUT /dbaas-mysql/{name}/maintenance/start 启动MySQL维护更新
DbaasApi start_dbaas_opensearch_maintenance PUT /dbaas-opensearch/{name}/maintenance/start 启动OpenSearch维护更新
DbaasApi start_dbaas_pg_maintenance PUT /dbaas-postgres/{name}/maintenance/start 启动PostgreSQL维护更新
DbaasApi start_dbaas_redis_maintenance PUT /dbaas-redis/{name}/maintenance/start 启动Redis维护更新
DbaasApi stop_dbaas_mysql_migration POST /dbaas-mysql/{name}/migration/stop 停止DBaaS MySQL迁移
DbaasApi stop_dbaas_pg_migration POST /dbaas-postgres/{name}/migration/stop 停止DBaaS PostgreSQL迁移
DbaasApi stop_dbaas_redis_migration POST /dbaas-redis/{name}/migration/stop 停止DBaaS Redis迁移
DbaasApi update_dbaas_integration PUT /dbaas-integration/{id} 更新现有的DBaaS集成
DbaasApi update_dbaas_opensearch_acl_config PUT /dbaas-opensearch/{name}/acl-config 创建DBaaS OpenSearch ACL配置
DbaasApi update_dbaas_pg_connection_pool PUT /dbaas-postgres/{service_name}/connection-pool/{connection_pool_name} 更新DBaaS PostgreSQL连接池
DbaasApi update_dbaas_postgres_allow_replication PUT /dbaas-postgres/{service_name}/user/{username}/allow-replication 更新服务用户的访问控制
DbaasApi update_dbaas_service_grafana PUT /dbaas-grafana/{name} 更新DBaaS Grafana服务
DbaasApi update_dbaas_service_kafka PUT /dbaas-kafka/{name} 更新DBaaS Kafka服务
DbaasApi update_dbaas_service_mysql PUT /dbaas-mysql/{name} 更新DBaaS MySQL服务
DbaasApi update_dbaas_service_opensearch PUT /dbaas-opensearch/{name} 更新DBaaS OpenSearch服务
DbaasApi update_dbaas_service_pg PUT /dbaas-postgres/{name} 更新DBaaS PostgreSQL服务
DbaasApi update_dbaas_service_redis PUT /dbaas-redis/{name} 更新DBaaS Redis服务
DeployTargetApi get_deploy_target GET /deploy-target/{id} 检索部署目标详情
DeployTargetApi list_deploy_targets GET /deploy-target 列出部署目标
DnsApi create_dns_domain POST /dns-domain 创建DNS域名
DnsApi create_dns_domain_record POST /dns-domain/{domain_id}/record 创建DNS域名记录
DnsApi delete_dns_domain DELETE /dns-domain/{id} 删除DNS域名
DnsApi delete_dns_domain_record DELETE /dns-domain/{domain_id}/record/{record_id} 删除DNS域名记录
DnsApi get_dns_domain GET /dns-domain/{id} 检索DNS域名详情
DnsApi get_dns_domain_record GET /dns-domain/{domain_id}/record/{record_id} 检索DNS域名记录详情
DnsApi get_dns_domain_zone_file GET /dns-domain/{id}/zone 检索DNS域名区域文件
DnsApi list_dns_domain_records GET /dns-domain/{domain_id}/record 列出DNS域名记录
DnsApi list_dns_domains GET /dns-domain 列出DNS域名
DnsApi update_dns_domain_record PUT /dns-domain/{domain_id}/record/{record_id} 更新DNS域名记录
ElasticIpApi attach_instance_to_elastic_ip PUT /elastic-ip/{id}:attach 将计算实例附加到弹性IP
ElasticIpApi create_elastic_ip POST /elastic-ip 创建弹性IP
ElasticIpApi delete_elastic_ip DELETE /elastic-ip/{id} 删除弹性IP
ElasticIpApi detach_instance_from_elastic_ip PUT /elastic-ip/{id}:detach 将计算实例从弹性IP中分离
ElasticIpApi get_elastic_ip GET /elastic-ip/{id} 检索弹性IP详情
ElasticIpApi list_elastic_ips GET /elastic-ip 列出弹性IP
ElasticIpApi reset_elastic_ip_field DELETE /elastic-ip/{id}/{field} 将弹性IP的字段重置为其默认值
ElasticIpApi update_elastic_ip PUT /elastic-ip/{id} 更新弹性IP
EventApi list_events GET /event 列出事件
IamApi create_access_key POST /access-key 创建旧版IAM访问密钥
IamApi create_api_key POST /api-key 创建新的API密钥
IamApi create_iam_role POST /iam-role 创建IAM角色
IamApi delete_api_key DELETE /api-key/{id} 删除API密钥
IamApi delete_iam_role DELETE /iam-role/{id} 删除IAM角色
IamApi get_access_key GET /access-key/{key} 检索IAM访问密钥详情
IamApi get_api_key GET /api-key/{id} 获取API密钥
IamApi get_iam_organization_policy GET /iam-organization-policy 检索IAM组织策略
IamApi get_iam_role GET /iam-role/{id} 检索IAM角色
IamApi list_access_key_known_operations GET /access-key-known-operations 检索所有已知的IAM访问密钥操作及其关联标签
IamApi list_access_key_operations GET /access-key-operations 检索签名密钥的IAM访问密钥操作及其关联标签
IamApi list_access_keys GET /access-key 列出IAM访问密钥
IamApi list_api_keys GET /api-key 列出API密钥
IamApi list_iam_roles GET /iam-role 列出IAM角色
IamApi revoke_access_key DELETE /access-key/{key} 吊销IAM访问密钥
IamApi update_iam_organization_policy PUT /iam-organization-policy 更新 IAM 组织策略
IamApi update_iam_role PUT /iam-role/{id} 更新 IAM 角色
IamApi update_iam_role_policy PUT /iam-role/{id}:policy 更新 IAM 角色策略
InstanceApi add_instance_protection PUT /instance/{id}:add-protection 设置实例销毁保护
InstanceApi create_instance POST /instance 创建计算实例
InstanceApi create_snapshot POST /instance/{id}:create-snapshot 创建计算实例的快照
InstanceApi delete_instance DELETE /instance/{id} 删除计算实例
InstanceApi get_instance GET /instance/{id} 检索计算实例详情
InstanceApi list_instances GET /instance 列出计算实例
InstanceApi reboot_instance PUT /instance/{id}:reboot 重启计算实例
InstanceApi remove_instance_protection PUT /instance/{id}:remove-protection 移除实例销毁保护
InstanceApi reset_instance PUT /instance/{id}:reset 将计算实例重置到基本/目标模板
InstanceApi reset_instance_field DELETE /instance/{id}/{field} 重置实例字段
InstanceApi reset_instance_password PUT /instance/{id}:reset-password 重置计算实例密码
InstanceApi resize_instance_disk PUT /instance/{id}:resize-disk 调整计算实例磁盘大小
InstanceApi reveal_instance_password GET /instance/{id}:password 显示实例创建时或最新密码重置时使用的密码。
InstanceApi revert_instance_to_snapshot POST /instance/{instance_id}:revert-snapshot 为实例还原快照
InstanceApi scale_instance PUT /instance/{id}:scale 将计算实例扩展到新的实例类型
InstanceApi start_instance PUT /instance/{id}:start 启动计算实例
InstanceApi stop_instance PUT /instance/{id}:stop 停止计算实例
InstanceApi update_instance PUT /instance/{id} 更新计算实例
InstancePoolApi create_instance_pool POST /instance-pool 创建实例池
InstancePoolApi delete_instance_pool DELETE /instance-pool/{id} 删除实例池
InstancePoolApi evict_instance_pool_members PUT /instance-pool/{id}:evict 驱逐实例池成员
InstancePoolApi get_instance_pool GET /instance-pool/{id} 检索实例池详情
InstancePoolApi list_instance_pools GET /instance-pool 列出实例池
InstancePoolApi reset_instance_pool_field DELETE /instance-pool/{id}/{field} 将实例池字段重置为其默认值
InstancePoolApi scale_instance_pool PUT /instance-pool/{id}:scale 扩展实例池
InstancePoolApi update_instance_pool PUT /instance-pool/{id} 更新实例池
InstanceTypeApi get_instance_type GET /instance-type/{id} 检索实例类型详情
InstanceTypeApi list_instance_types GET /instance-type 列出计算实例类型
NetworkLoadBalancerApi add_service_to_load_balancer POST /load-balancer/{id}/service 添加负载均衡器服务
NetworkLoadBalancerApi create_load_balancer POST /load-balancer 创建负载均衡器
NetworkLoadBalancerApi delete_load_balancer DELETE /load-balancer/{id} 删除负载均衡器
NetworkLoadBalancerApi delete_load_balancer_service DELETE /load-balancer/{id}/service/{service_id} 删除负载均衡器服务
NetworkLoadBalancerApi get_load_balancer GET /load-balancer/{id} 检索负载均衡器详情
NetworkLoadBalancerApi get_load_balancer_service GET /load-balancer/{id}/service/{service_id} 检索负载均衡器服务详情
NetworkLoadBalancerApi list_load_balancers GET /load-balancer 列出负载均衡器
NetworkLoadBalancerApi reset_load_balancer_field DELETE /load-balancer/{id}/{field} 将负载均衡器字段重置为其默认值
NetworkLoadBalancerApi reset_load_balancer_service_field DELETE /load-balancer/{id}/service/{service_id}/{field} 将负载均衡器服务字段重置为其默认值
NetworkLoadBalancerApi update_load_balancer PUT /load-balancer/{id} 更新负载均衡器
NetworkLoadBalancerApi update_load_balancer_service PUT /load-balancer/{id}/service/{service_id} 更新负载均衡器服务
OperationApi get_operation GET /operation/{id} 检索操作详情
PrivateNetworkApi attach_instance_to_private_network PUT /private-network/{id}:attach 将计算实例附加到私有网络
PrivateNetworkApi create_private_network POST /private-network 创建私有网络
PrivateNetworkApi delete_private_network DELETE /private-network/{id} 删除私有网络
PrivateNetworkApi detach_instance_from_private_network PUT /private-network/{id}:detach 从私有网络中分离计算实例
PrivateNetworkApi get_private_network GET /private-network/{id} 检索私有网络详情
PrivateNetworkApi list_private_networks GET /private-network 列出私有网络
PrivateNetworkApi reset_private_network_field DELETE /private-network/{id}/{field} 重置私有网络字段
PrivateNetworkApi update_private_network PUT /private-network/{id} 更新私有网络
PrivateNetworkApi update_private_network_instance_ip PUT /private-network/{id}:update-ip 更新附加到托管私有网络的实例的IP地址
QuotasApi get_quota GET /quota/{entity} 检索资源配额
QuotasApi list_quotas GET /quota 列出组织配额
ReverseDnsApi delete_reverse_dns_elastic_ip DELETE /reverse-dns/elastic-ip/{id} 删除弹性IP的PTR DNS记录
ReverseDnsApi delete_reverse_dns_instance DELETE /reverse-dns/instance/{id} 删除实例的PTR DNS记录
ReverseDnsApi get_reverse_dns_elastic_ip GET /reverse-dns/elastic-ip/{id} 查询弹性IP的PTR DNS记录
ReverseDnsApi get_reverse_dns_instance GET /reverse-dns/instance/{id} 查询实例的PTR DNS记录
ReverseDnsApi update_reverse_dns_elastic_ip POST /reverse-dns/elastic-ip/{id} 更新/创建弹性IP的PTR DNS记录
ReverseDnsApi update_reverse_dns_instance POST /reverse-dns/instance/{id} 更新/创建实例的PTR DNS记录
SecurityGroupApi add_external_source_to_security_group PUT /security-group/{id}:add-source 将外部源添加到安全组成员
SecurityGroupApi add_rule_to_security_group POST /security-group/{id}/rules 创建安全组规则
SecurityGroupApi attach_instance_to_security_group PUT /security-group/{id}:attach 将计算实例附加到安全组
SecurityGroupApi create_security_group POST /security-group 创建安全组
SecurityGroupApi delete_rule_from_security_group DELETE /security-group/{id}/rules/{rule_id} 删除安全组规则
SecurityGroupApi delete_security_group DELETE /security-group/{id} 删除安全组
SecurityGroupApi detach_instance_from_security_group PUT /security-group/{id}:detach 从安全组中分离计算实例
SecurityGroupApi get_security_group GET /security-group/{id} 检索安全组详情
SecurityGroupApi list_security_groups GET /security-group 列出安全组
SecurityGroupApi remove_external_source_from_security_group PUT /security-group/{id}:remove-source 从安全组中移除外部源
SksApi create_sks_cluster POST /sks-cluster 创建SKS集群
SksApi create_sks_nodepool POST /sks-cluster/{id}/nodepool 创建新的SKS节点池
SksApi delete_sks_cluster DELETE /sks-cluster/{id} 删除SKS集群
SksApi delete_sks_nodepool DELETE /sks-cluster/{id}/nodepool/{sks_nodepool_id} 删除SKS节点池
SksApi evict_sks_nodepool_members PUT /sks-cluster/{id}/nodepool/{sks_nodepool_id}:evict 驱逐Nodepool成员
SksApi generate_sks_cluster_kubeconfig POST /sks-cluster-kubeconfig/{id} 为SKS集群生成新的Kubeconfig文件
SksApi get_sks_cluster GET /sks-cluster/{id} 获取SKS集群详细信息
SksApi get_sks_cluster_authority_cert GET /sks-cluster/{id}/authority/{authority}/cert 获取SKS集群授权证书
SksApi get_sks_nodepool GET /sks-cluster/{id}/nodepool/{sks_nodepool_id} 获取SKS Nodepool详细信息
SksApi list_sks_cluster_deprecated_resources GET /sks-cluster-deprecated-resources/{id} 计划在未来的Kubernetes版本中删除的资源
SksApi list_sks_cluster_versions GET /sks-cluster-version 列出SKS集群的可用版本
SksApi list_sks_clusters GET /sks-cluster 列出SKS集群
SksApi reset_sks_cluster_field DELETE /sks-cluster/{id}/{field} 将SKS集群字段重置为其默认值
SksApi reset_sks_nodepool_field DELETE /sks-cluster/{id}/nodepool/{sks_nodepool_id}/{field} 将SKS Nodepool字段重置为其默认值
SksApi rotate_sks_ccm_credentials PUT /sks-cluster/{id}/rotate-ccm-credentials 轮换Exoscale CCM凭据
SksApi rotate_sks_operators_ca PUT /sks-cluster/{id}/rotate-operators-ca 轮换操作者证书授权
SksApi scale_sks_nodepool PUT /sks-cluster/{id}/nodepool/{sks_nodepool_id}:scale 扩展SKS Nodepool
SksApi update_sks_cluster PUT /sks-cluster/{id} 更新SKS集群
SksApi update_sks_nodepool PUT /sks-cluster/{id}/nodepool/{sks_nodepool_id} 更新SKS Nodepool
SksApi upgrade_sks_cluster PUT /sks-cluster/{id}/upgrade 升级SKS集群
SksApi upgrade_sks_cluster_service_level PUT /sks-cluster/{id}/upgrade-service-level 将SKS集群升级到专业版
SnapshotApi create_snapshot POST /instance/{id}:create-snapshot 创建计算实例的快照
SnapshotApi delete_snapshot DELETE /snapshot/{id} 删除快照
SnapshotApi export_snapshot POST /snapshot/{id}:export 导出快照
SnapshotApi get_snapshot GET /snapshot/{id} 获取快照详细信息
SnapshotApi list_snapshots GET /snapshot 列出快照
SnapshotApi promote_snapshot_to_template POST /snapshot/{id}:promote 将快照提升为模板
SosApi get_sos_presigned_url GET /sos/{bucket}/presigned-url 获取SOS对象的预签名下载URL
SosApi list_sos_buckets_usage GET /sos-buckets-usage 列出SOS存储桶使用情况
SshKeyApi delete_ssh_key DELETE /ssh-key/{name} 删除SSH密钥
SshKeyApi get_ssh_key GET /ssh-key/{name} 获取SSH密钥详细信息
SshKeyApi list_ssh_keys GET /ssh-key 列出SSH密钥
SshKeyApi register_ssh_key POST /ssh-key 导入SSH密钥
TemplateApi copy_template POST /template/{id} 从区域A复制模板到区域B
TemplateApi delete_template DELETE /template/{id} 删除模板
TemplateApi get_template GET /template/{id} 获取模板详细信息
TemplateApi list_templates GET /template 列出模板
TemplateApi promote_snapshot_to_template POST /snapshot/{id}:promote 将快照提升为模板
TemplateApi register_template POST /template 注册模板
TemplateApi update_template PUT /template/{id} 更新模板属性
ZoneApi list_zones GET /zone 列出区域

模型的文档

要获取生成的文档,请使用

cargo doc --open

作者

[email protected]

依赖项

~5-18MB
~263K SLoC