#api-server #cloud #scaleway #api-client #infrastructure #version #management

scaleway_api_rs

Generated library to interact with Scaleway API

8 releases

new 0.1.8 Dec 12, 2024
0.1.7 Feb 21, 2023
0.1.5 Jul 7, 2022
0.1.4 Jun 11, 2022
0.1.1 Jul 1, 2021

#878 in Web programming

Download history 740/week @ 2024-08-22 441/week @ 2024-08-29 1072/week @ 2024-09-05 965/week @ 2024-09-12 544/week @ 2024-09-19 798/week @ 2024-09-26 853/week @ 2024-10-03 286/week @ 2024-10-10 316/week @ 2024-10-17 469/week @ 2024-10-24 437/week @ 2024-10-31 324/week @ 2024-11-07 312/week @ 2024-11-14 493/week @ 2024-11-21 430/week @ 2024-11-28 740/week @ 2024-12-05

2,132 downloads per month

Custom license

1.5MB
28K SLoC

build / test / fmt crate publish publish Crates.io

Notes

This Scaleway API Crate is created and maintained by Qovery and used in production in the Qovery Engine.

This project relies on OpenAPI Generator, refers to UPDATE.md to update generated code.

Rust API client for scaleway_api_rs

Introduction

The Account API allows you to manage projects. Project is Scaleway’s resource management feature. Designed to help you organize your infrastructure and cloud services, the feature allows resources to be isolated and grouped into specific projects.

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: v2
  • Package version: 0.1.7
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named scaleway_api_rs and add the following to Cargo.toml under [dependencies]:

scaleway_api_rs = { path = "./scaleway_api_rs" }

Documentation for API Endpoints

All URIs are relative to https://api.scaleway.com

Class Method HTTP request Description
AclApi add_instance_acl_rules POST /rdb/v1/regions/{region}/instances/{instance_id}/acls Add an ACL instance to a given instance
AclApi delete_instance_acl_rules DELETE /rdb/v1/regions/{region}/instances/{instance_id}/acls Delete ACL rules of a given instance
AclApi list_instance_acl_rules GET /rdb/v1/regions/{region}/instances/{instance_id}/acls List ACL rules of a given instance
AclApi set_instance_acl_rules PUT /rdb/v1/regions/{region}/instances/{instance_id}/acls Set ACL rules for a given instance
ApiKeysApi create_api_key POST /iam/v1alpha1/api-keys Create an API key
ApiKeysApi delete_api_key DELETE /iam/v1alpha1/api-keys/{access_key} Delete an API key
ApiKeysApi get_api_key GET /iam/v1alpha1/api-keys/{access_key} Get an API key
ApiKeysApi list_api_keys GET /iam/v1alpha1/api-keys List API keys
ApiKeysApi update_api_key PATCH /iam/v1alpha1/api-keys/{access_key} Update an API key
ApplicationsApi create_application POST /iam/v1alpha1/applications Create a new application
ApplicationsApi delete_application DELETE /iam/v1alpha1/applications/{application_id} Delete an application
ApplicationsApi get_application GET /iam/v1alpha1/applications/{application_id} Get an existing application
ApplicationsApi list_applications GET /iam/v1alpha1/applications List applications of an organization
ApplicationsApi update_application PATCH /iam/v1alpha1/applications/{application_id} Update an existing application
BmcAccessApi get_bmc_access GET /baremetal/v1/zones/{zone}/servers/{server_id}/bmc-access Get BMC (Baseboard Management Controller) access for a given elastic metal server
BmcAccessApi start_bmc_access POST /baremetal/v1/zones/{zone}/servers/{server_id}/bmc-access Start BMC (Baseboard Management Controller) access for a given elastic metal server
BmcAccessApi stop_bmc_access DELETE /baremetal/v1/zones/{zone}/servers/{server_id}/bmc-access Stop BMC (Baseboard Management Controller) access for a given elastic metal server
BackupsApi create_database_backup POST /rdb/v1/regions/{region}/backups Create a database backup
BackupsApi delete_database_backup DELETE /rdb/v1/regions/{region}/backups/{database_backup_id} Delete a database backup
BackupsApi export_database_backup POST /rdb/v1/regions/{region}/backups/{database_backup_id}/export Export a database backup
BackupsApi get_database_backup GET /rdb/v1/regions/{region}/backups/{database_backup_id} Get a database backup
BackupsApi list_database_backups GET /rdb/v1/regions/{region}/backups List database backups
BackupsApi restore_database_backup POST /rdb/v1/regions/{region}/backups/{database_backup_id}/restore Restore a database backup
BackupsApi update_database_backup PATCH /rdb/v1/regions/{region}/backups/{database_backup_id} Update a database backup
BootscriptsApi get_bootscript GET /instance/v1/zones/{zone}/bootscripts/{bootscript_id} Get bootscripts
BootscriptsApi list_bootscripts GET /instance/v1/zones/{zone}/bootscripts List bootscripts
ClustersApi create_cluster POST /k8s/v1/regions/{region}/clusters Create a new cluster
ClustersApi delete_cluster DELETE /k8s/v1/regions/{region}/clusters/{cluster_id} Delete a cluster
ClustersApi get_cluster GET /k8s/v1/regions/{region}/clusters/{cluster_id} Get a cluster
ClustersApi get_cluster_kube_config GET /k8s/v1/regions/{region}/clusters/{cluster_id}/kubeconfig Download the kubeconfig for a cluster
ClustersApi list_cluster_available_versions GET /k8s/v1/regions/{region}/clusters/{cluster_id}/available-versions List available versions for a cluster
ClustersApi list_clusters GET /k8s/v1/regions/{region}/clusters List all the clusters
ClustersApi reset_cluster_admin_token POST /k8s/v1/regions/{region}/clusters/{cluster_id}/reset-admin-token Reset the admin token of a cluster
ClustersApi update_cluster PATCH /k8s/v1/regions/{region}/clusters/{cluster_id} Update a cluster
ClustersApi upgrade_cluster POST /k8s/v1/regions/{region}/clusters/{cluster_id}/upgrade Upgrade a cluster
ConsumptionApi get_consumption GET /billing/v2alpha1/consumption Consumption over the current month
DnsZonesApi clone_dns_zone POST /domain/v2beta1/dns-zones/{dns_zone}/clone Clone a DNS zone
DnsZonesApi create_dns_zone POST /domain/v2beta1/dns-zones Create a DNS zone
DnsZonesApi create_ssl_certificate POST /domain/v2beta1/ssl-certificates Create or return the zone TLS certificate
DnsZonesApi delete_dns_zone DELETE /domain/v2beta1/dns-zones/{dns_zone} Delete DNS zone
DnsZonesApi delete_dns_zone_tsig_key DELETE /domain/v2beta1/dns-zones/{dns_zone}/tsig-key Delete the DNS zone TSIG Key
DnsZonesApi delete_ssl_certificate DELETE /domain/v2beta1/ssl-certificates/{dns_zone} Delete an TLS certificate
DnsZonesApi get_dns_zone_tsig_key GET /domain/v2beta1/dns-zones/{dns_zone}/tsig-key Get the DNS zone TSIG Key
DnsZonesApi get_ssl_certificate GET /domain/v2beta1/ssl-certificates/{dns_zone} Get the zone TLS certificate if it exists
DnsZonesApi list_dns_zones GET /domain/v2beta1/dns-zones List DNS zones
DnsZonesApi list_ssl_certificates GET /domain/v2beta1/ssl-certificates List all user TLS certificates
DnsZonesApi refresh_dns_zone POST /domain/v2beta1/dns-zones/{dns_zone}/refresh Refresh DNS zone
DnsZonesApi update_dns_zone PATCH /domain/v2beta1/dns-zones/{dns_zone} Update a DNS zone
DatabaseInstancesApi clone_instance POST /rdb/v1/regions/{region}/instances/{instance_id}/clone Clone an instance
DatabaseInstancesApi create_instance POST /rdb/v1/regions/{region}/instances Create an instance
DatabaseInstancesApi delete_instance DELETE /rdb/v1/regions/{region}/instances/{instance_id} Delete an instance
DatabaseInstancesApi get_instance GET /rdb/v1/regions/{region}/instances/{instance_id} Get an instance
DatabaseInstancesApi get_instance_certificate GET /rdb/v1/regions/{region}/instances/{instance_id}/certificate Get the TLS certificate of an instance
DatabaseInstancesApi get_instance_log GET /rdb/v1/regions/{region}/logs/{instance_log_id} Get specific logs of a given instance
DatabaseInstancesApi get_instance_metrics GET /rdb/v1/regions/{region}/instances/{instance_id}/metrics Get instance metrics
DatabaseInstancesApi list_instance_logs GET /rdb/v1/regions/{region}/instances/{instance_id}/logs List available logs of a given instance
DatabaseInstancesApi list_instance_logs_details GET /rdb/v1/regions/{region}/instances/{instance_id}/logs-details List remote instances logs details
DatabaseInstancesApi list_instances GET /rdb/v1/regions/{region}/instances List instances
DatabaseInstancesApi prepare_instance_logs POST /rdb/v1/regions/{region}/instances/{instance_id}/prepare-logs Prepare logs of a given instance
DatabaseInstancesApi purge_instance_logs POST /rdb/v1/regions/{region}/instances/{instance_id}/purge-logs Purge remote instances logs
DatabaseInstancesApi renew_instance_certificate POST /rdb/v1/regions/{region}/instances/{instance_id}/renew-certificate Renew the TLS certificate of an instance
DatabaseInstancesApi restart_instance POST /rdb/v1/regions/{region}/instances/{instance_id}/restart Restart an instance
DatabaseInstancesApi update_instance PATCH /rdb/v1/regions/{region}/instances/{instance_id} Update an instance
DatabaseInstancesApi upgrade_instance POST /rdb/v1/regions/{region}/instances/{instance_id}/upgrade Upgrade an instance
DatabasesApi create_database POST /rdb/v1/regions/{region}/instances/{instance_id}/databases Create a database in a given instance
DatabasesApi delete_database DELETE /rdb/v1/regions/{region}/instances/{instance_id}/databases/{name} Delete a database in a given instance
DatabasesApi list_databases GET /rdb/v1/regions/{region}/instances/{instance_id}/databases List all database in a given instance
DefaultApi clone_policy POST /iam/v1alpha1/policies/{policy_id}/clone
DefaultApi get_dashboard GET /instance/v1/zones/{zone}/dashboard
DefaultApi move_mac_addr POST /flexible-ip/v1alpha1/zones/{zone}/fips/{fip_id}/mac/move
EndpointsApi create_endpoint POST /rdb/v1/regions/{region}/instances/{instance_id}/endpoints Create a new instance endpoint
EndpointsApi delete_endpoint DELETE /rdb/v1/regions/{region}/endpoints/{endpoint_id} Delete an instance endpoint
EndpointsApi get_endpoint GET /rdb/v1/regions/{region}/endpoints/{endpoint_id} Get an instance endpoint
EnginesApi list_database_engines GET /rdb/v1/regions/{region}/database-engines List available database engines
FlexibleIpApi attach_flexible_ip POST /flexible-ip/v1alpha1/zones/{zone}/fips/attach Attach a Flexible IP to a server
FlexibleIpApi create_flexible_ip POST /flexible-ip/v1alpha1/zones/{zone}/fips Create a Flexible IP
FlexibleIpApi delete_flexible_ip DELETE /flexible-ip/v1alpha1/zones/{zone}/fips/{fip_id} Delete a Flexible IP
FlexibleIpApi delete_mac_addr DELETE /flexible-ip/v1alpha1/zones/{zone}/fips/{fip_id}/mac Remove a virtual MAC from a Flexible IP
FlexibleIpApi detach_flexible_ip POST /flexible-ip/v1alpha1/zones/{zone}/fips/detach Detach a Flexible IP from a server
FlexibleIpApi duplicate_mac_addr POST /flexible-ip/v1alpha1/zones/{zone}/fips/{fip_id}/mac/duplicate Duplicate a Virtual MAC
FlexibleIpApi generate_mac_addr POST /flexible-ip/v1alpha1/zones/{zone}/fips/{fip_id}/mac Generate a virtual MAC on a given Flexible IP
FlexibleIpApi get_flexible_ip GET /flexible-ip/v1alpha1/zones/{zone}/fips/{fip_id} Get a Flexible IP
FlexibleIpApi list_flexible_ips GET /flexible-ip/v1alpha1/zones/{zone}/fips List Flexible IPs
FlexibleIpApi update_flexible_ip PATCH /flexible-ip/v1alpha1/zones/{zone}/fips/{fip_id} Update a Flexible IP
GroupsApi add_group_member POST /iam/v1alpha1/groups/{group_id}/add-member Add a user of an application to a group
GroupsApi create_group POST /iam/v1alpha1/groups Create a new group
GroupsApi delete_group DELETE /iam/v1alpha1/groups/{group_id} Delete a group
GroupsApi get_group GET /iam/v1alpha1/groups/{group_id} Get a group
GroupsApi list_groups GET /iam/v1alpha1/groups List groups
GroupsApi remove_group_member POST /iam/v1alpha1/groups/{group_id}/remove-member Remove a user or an application from a group
GroupsApi set_group_members PUT /iam/v1alpha1/groups/{group_id}/members Overwrite users and applications of a group
GroupsApi update_group PATCH /iam/v1alpha1/groups/{group_id} Update a group
IpsApi create_ip POST /instance/v1/zones/{zone}/ips Reserve a flexible IP
IpsApi delete_ip DELETE /instance/v1/zones/{zone}/ips/{ip} Delete a flexible IP
IpsApi get_ip GET /instance/v1/zones/{zone}/ips/{ip} Get a flexible IP
IpsApi list_ips GET /instance/v1/zones/{zone}/ips List all flexible IPs
IpsApi update_ip PATCH /instance/v1/zones/{zone}/ips/{ip} Update a flexible IP
ImagesApi create_image POST /instance/v1/zones/{zone}/images Create an instance image
ImagesApi delete_image DELETE /instance/v1/zones/{zone}/images/{image_id} Delete an instance image
ImagesApi delete_image1 DELETE /registry/v1/regions/{region}/images/{image_id} Delete an image
ImagesApi get_image GET /instance/v1/zones/{zone}/images/{image_id} Get an instance image
ImagesApi get_image1 GET /registry/v1/regions/{region}/images/{image_id} Get a image
ImagesApi list_images GET /instance/v1/zones/{zone}/images List instance images
ImagesApi list_images1 GET /registry/v1/regions/{region}/images List all your images
ImagesApi set_image PUT /instance/v1/zones/{zone}/images/{id} Update image
ImagesApi update_image PATCH /registry/v1/regions/{region}/images/{image_id} Update an existing image
ImportsExportsApi export_raw_dns_zone GET /domain/v2beta1/dns-zones/{dns_zone}/raw Export raw DNS zone
ImportsExportsApi import_provider_dns_zone POST /domain/v2beta1/dns-zones/{dns_zone}/import-provider Import provider DNS zone
ImportsExportsApi import_raw_dns_zone POST /domain/v2beta1/dns-zones/{dns_zone}/raw Import raw DNS zone
InstanceSettingsApi add_instance_settings POST /rdb/v1/regions/{region}/instances/{instance_id}/settings Add an instance setting
InstanceSettingsApi delete_instance_settings DELETE /rdb/v1/regions/{region}/instances/{instance_id}/settings Delete an instance setting
InstanceSettingsApi set_instance_settings PUT /rdb/v1/regions/{region}/instances/{instance_id}/settings Set a given instance setting
InvoicesApi download_invoice GET /billing/v2alpha1/invoices/{invoice_id}/download Download invoice based on his number
InvoicesApi list_invoices GET /billing/v2alpha1/invoices List invoices
NamespacesApi create_namespace POST /registry/v1/regions/{region}/namespaces Create a new namespace
NamespacesApi delete_namespace DELETE /registry/v1/regions/{region}/namespaces/{namespace_id} Delete an existing namespace
NamespacesApi get_namespace GET /registry/v1/regions/{region}/namespaces/{namespace_id} Get a namespace
NamespacesApi list_namespaces GET /registry/v1/regions/{region}/namespaces List all your namespaces
NamespacesApi update_namespace PATCH /registry/v1/regions/{region}/namespaces/{namespace_id} Update an existing namespace
NodeTypesApi list_node_types GET /rdb/v1/regions/{region}/node-types List available node types
NodesApi create_external_node POST /k8s/v1/regions/{region}/pools/{pool_id}/external-nodes Create a Kosmos node
NodesApi delete_node DELETE /k8s/v1/regions/{region}/nodes/{node_id} Delete a node in a cluster
NodesApi get_node GET /k8s/v1/regions/{region}/nodes/{node_id} Get a node in a cluster
NodesApi list_nodes GET /k8s/v1/regions/{region}/clusters/{cluster_id}/nodes List all the nodes in a cluster
NodesApi reboot_node POST /k8s/v1/regions/{region}/nodes/{node_id}/reboot Reboot a node in a cluster
OsApi get_os GET /baremetal/v1/zones/{zone}/os/{os_id} Get an OS with a given ID
OsApi list_os GET /baremetal/v1/zones/{zone}/os List all available OS that can be install on an elastic metal server
OffersApi get_offer GET /baremetal/v1/zones/{zone}/offers/{offer_id} Get offer
OffersApi list_offers GET /baremetal/v1/zones/{zone}/offers List offers
OptionsApi get_option GET /baremetal/v1/zones/{zone}/options/{option_id} Get option
OptionsApi list_options GET /baremetal/v1/zones/{zone}/options List options
OptionsApi list_settings GET /baremetal/v1/zones/{zone}/settings List all settings
OptionsApi update_setting PATCH /baremetal/v1/zones/{zone}/settings/{setting_id} Update setting
PermissionSetsApi list_permission_sets GET /iam/v1alpha1/permission-sets List permission sets
PlacementGroupsApi create_placement_group POST /instance/v1/zones/{zone}/placement_groups Create a placement group
PlacementGroupsApi delete_placement_group DELETE /instance/v1/zones/{zone}/placement_groups/{placement_group_id} Delete the given placement group
PlacementGroupsApi get_placement_group GET /instance/v1/zones/{zone}/placement_groups/{placement_group_id} Get a placement group
PlacementGroupsApi get_placement_group_servers GET /instance/v1/zones/{zone}/placement_groups/{placement_group_id}/servers Get placement group servers
PlacementGroupsApi list_placement_groups GET /instance/v1/zones/{zone}/placement_groups List placement groups
PlacementGroupsApi set_placement_group PUT /instance/v1/zones/{zone}/placement_groups/{placement_group_id} Set placement group
PlacementGroupsApi set_placement_group_servers PUT /instance/v1/zones/{zone}/placement_groups/{placement_group_id}/servers Set placement group servers
PlacementGroupsApi update_placement_group PATCH /instance/v1/zones/{zone}/placement_groups/{placement_group_id} Update a placement group
PlacementGroupsApi update_placement_group_servers PATCH /instance/v1/zones/{zone}/placement_groups/{placement_group_id}/servers Update placement group servers
PoliciesApi create_policy POST /iam/v1alpha1/policies Create a new policy
PoliciesApi delete_policy DELETE /iam/v1alpha1/policies/{policy_id} Delete a policy
PoliciesApi get_policy GET /iam/v1alpha1/policies/{policy_id} Get an existing policy
PoliciesApi list_policies GET /iam/v1alpha1/policies List policies of an organization
PoliciesApi update_policy PATCH /iam/v1alpha1/policies/{policy_id} Update an existing policy
PoolsApi create_pool POST /k8s/v1/regions/{region}/clusters/{cluster_id}/pools Create a new pool in a cluster
PoolsApi delete_pool DELETE /k8s/v1/regions/{region}/pools/{pool_id} Delete a pool in a cluster
PoolsApi get_pool GET /k8s/v1/regions/{region}/pools/{pool_id} Get a pool in a cluster
PoolsApi list_pools GET /k8s/v1/regions/{region}/clusters/{cluster_id}/pools List all the pools in a cluster
PoolsApi update_pool PATCH /k8s/v1/regions/{region}/pools/{pool_id} Update a pool in a cluster
PoolsApi upgrade_pool POST /k8s/v1/regions/{region}/pools/{pool_id}/upgrade Upgrade a pool in a cluster
PrivateNicsApi create_private_nic POST /instance/v1/zones/{zone}/servers/{server_id}/private_nics Create a private NIC connecting a server to a private network
PrivateNicsApi delete_private_nic DELETE /instance/v1/zones/{zone}/servers/{server_id}/private_nics/{private_nic_id} Delete a private NIC
PrivateNicsApi get_private_nic GET /instance/v1/zones/{zone}/servers/{server_id}/private_nics/{private_nic_id} Get a private NIC
PrivateNicsApi list_private_nics GET /instance/v1/zones/{zone}/servers/{server_id}/private_nics List all private NICs
PrivateNetworksApi create_private_network POST /vpc/v1/zones/{zone}/private-networks Create a private network
PrivateNetworksApi delete_private_network DELETE /vpc/v1/zones/{zone}/private-networks/{private_network_id} Delete a private network
PrivateNetworksApi get_private_network GET /vpc/v1/zones/{zone}/private-networks/{private_network_id} Get a private network
PrivateNetworksApi list_private_networks GET /vpc/v1/zones/{zone}/private-networks List private networks
PrivateNetworksApi update_private_network PATCH /vpc/v1/zones/{zone}/private-networks/{private_network_id} Update private network
PrivilegesApi list_privileges GET /rdb/v1/regions/{region}/instances/{instance_id}/privileges List privileges of a given user for a given database on a given instance
PrivilegesApi set_privilege PUT /rdb/v1/regions/{region}/instances/{instance_id}/privileges Set privileges of a given user for a given database on a given instance
ProjectsApi create_project POST /account/v2/projects Create project
ProjectsApi delete_project DELETE /account/v2/projects/{project_id} Delete project
ProjectsApi get_project GET /account/v2/projects/{project_id} Get project
ProjectsApi list_projects GET /account/v2/projects List projects
ProjectsApi update_project PATCH /account/v2/projects/{project_id} Update project
ReadReplicasApi create_read_replica POST /rdb/v1/regions/{region}/read-replicas Create a read replica
ReadReplicasApi create_read_replica_endpoint POST /rdb/v1/regions/{region}/read-replicas/{read_replica_id}/endpoints Create a new endpoint for a given read replica
ReadReplicasApi delete_read_replica DELETE /rdb/v1/regions/{region}/read-replicas/{read_replica_id} Delete a read replica
ReadReplicasApi get_read_replica GET /rdb/v1/regions/{region}/read-replicas/{read_replica_id} Get a read replica
ReadReplicasApi reset_read_replica POST /rdb/v1/regions/{region}/read-replicas/{read_replica_id}/reset Resync a read replica
RecordsApi clear_dns_zone_records DELETE /domain/v2beta1/dns-zones/{dns_zone}/records Clear DNS zone records
RecordsApi list_dns_zone_nameservers GET /domain/v2beta1/dns-zones/{dns_zone}/nameservers List DNS zone nameservers
RecordsApi list_dns_zone_records GET /domain/v2beta1/dns-zones/{dns_zone}/records List DNS zone records
RecordsApi update_dns_zone_nameservers PUT /domain/v2beta1/dns-zones/{dns_zone}/nameservers Update DNS zone nameservers
RecordsApi update_dns_zone_records PATCH /domain/v2beta1/dns-zones/{dns_zone}/records Update DNS zone records
RulesApi list_rules GET /iam/v1alpha1/rules List rules of an existing policy
RulesApi set_rules PUT /iam/v1alpha1/rules Set rules of an existing policy
SshKeysApi create_ssh_key POST /iam/v1alpha1/ssh-keys Create an SSH key
SshKeysApi delete_ssh_key DELETE /iam/v1alpha1/ssh-keys/{ssh_key_id} Delete an SSH key
SshKeysApi get_ssh_key GET /iam/v1alpha1/ssh-keys/{ssh_key_id} Get an SSH key
SshKeysApi list_ssh_keys GET /iam/v1alpha1/ssh-keys List SSH keys
SshKeysApi update_ssh_key PATCH /iam/v1alpha1/ssh-keys/{ssh_key_id} Update an SSH key
SecurityGroupsApi create_security_group POST /instance/v1/zones/{zone}/security_groups Create a security group
SecurityGroupsApi create_security_group_rule POST /instance/v1/zones/{zone}/security_groups/{security_group_id}/rules Create rule
SecurityGroupsApi delete_security_group DELETE /instance/v1/zones/{zone}/security_groups/{security_group_id} Delete a security group
SecurityGroupsApi delete_security_group_rule DELETE /instance/v1/zones/{zone}/security_groups/{security_group_id}/rules/{security_group_rule_id} Delete rule
SecurityGroupsApi get_security_group GET /instance/v1/zones/{zone}/security_groups/{security_group_id} Get a security group
SecurityGroupsApi get_security_group_rule GET /instance/v1/zones/{zone}/security_groups/{security_group_id}/rules/{security_group_rule_id} Get rule
SecurityGroupsApi list_default_security_group_rules GET /instance/v1/zones/{zone}/security_groups/default/rules Get default rules
SecurityGroupsApi list_security_group_rules GET /instance/v1/zones/{zone}/security_groups/{security_group_id}/rules List rules
SecurityGroupsApi list_security_groups GET /instance/v1/zones/{zone}/security_groups List security groups
SecurityGroupsApi set_security_group PUT /instance/v1/zones/{zone}/security_groups/{id} Update a security group
SecurityGroupsApi set_security_group_rule PUT /instance/v1/zones/{zone}/security_groups/{security_group_id}/rules/{security_group_rule_id} Update security group rule
SecurityGroupsApi set_security_group_rules PUT /instance/v1/zones/{zone}/security_groups/{security_group_id}/rules Update all the rules of a security group
ServerActionsApi reboot_server POST /baremetal/v1/zones/{zone}/servers/{server_id}/reboot Reboot an elastic metal server
ServerActionsApi start_server POST /baremetal/v1/zones/{zone}/servers/{server_id}/start Start an elastic metal server
ServerActionsApi stop_server POST /baremetal/v1/zones/{zone}/servers/{server_id}/stop Stop an elastic metal server
ServerTypesApi get_server_types_availability GET /instance/v1/zones/{zone}/products/servers/availability Get availability
ServerTypesApi list_servers_types GET /instance/v1/zones/{zone}/products/servers List server types
ServersApi add_option_server POST /baremetal/v1/zones/{zone}/servers/{server_id}/options/{option_id} Add server option
ServersApi create_server POST /baremetal/v1/zones/{zone}/servers Create an elastic metal server
ServersApi create_server1 POST /instance/v1/zones/{zone}/servers Create a server
ServersApi delete_option_server DELETE /baremetal/v1/zones/{zone}/servers/{server_id}/options/{option_id} Delete server option
ServersApi delete_server DELETE /baremetal/v1/zones/{zone}/servers/{server_id} Delete an elastic metal server
ServersApi delete_server1 DELETE /instance/v1/zones/{zone}/servers/{server_id} Delete a server
ServersApi get_server GET /baremetal/v1/zones/{zone}/servers/{server_id} Get a specific elastic metal server
ServersApi get_server1 GET /instance/v1/zones/{zone}/servers/{server_id} Get a server
ServersApi get_server_metrics GET /baremetal/v1/zones/{zone}/servers/{server_id}/metrics Return server metrics
ServersApi install_server POST /baremetal/v1/zones/{zone}/servers/{server_id}/install Install an elastic metal server
ServersApi list_server_actions GET /instance/v1/zones/{zone}/servers/{server_id}/action List server actions
ServersApi list_server_events GET /baremetal/v1/zones/{zone}/servers/{server_id}/events List server events
ServersApi list_servers GET /baremetal/v1/zones/{zone}/servers List elastic metal servers for organization
ServersApi list_servers1 GET /instance/v1/zones/{zone}/servers List all servers
ServersApi server_action POST /instance/v1/zones/{zone}/servers/{server_id}/action Perform action
ServersApi update_ip PATCH /baremetal/v1/zones/{zone}/servers/{server_id}/ips/{ip_id} Update IP
ServersApi update_server PATCH /baremetal/v1/zones/{zone}/servers/{server_id} Update an elastic metal server
ServersApi update_server1 PATCH /instance/v1/zones/{zone}/servers/{server_id} Update a server
SnapshotsApi create_instance_from_snapshot POST /rdb/v1/regions/{region}/snapshots/{snapshot_id}/create-instance Create a new instance from a given snapshot
SnapshotsApi create_snapshot POST /instance/v1/zones/{zone}/snapshots Create a snapshot from a given volume or from a QCOW2 file
SnapshotsApi create_snapshot1 POST /rdb/v1/regions/{region}/instances/{instance_id}/snapshots Create an instance snapshot
SnapshotsApi delete_snapshot DELETE /instance/v1/zones/{zone}/snapshots/{snapshot_id} Delete a snapshot
SnapshotsApi delete_snapshot1 DELETE /rdb/v1/regions/{region}/snapshots/{snapshot_id} Delete an instance snapshot
SnapshotsApi export_snapshot POST /instance/v1/zones/{zone}/snapshots/{snapshot_id}/export Export a snapshot
SnapshotsApi get_snapshot GET /instance/v1/zones/{zone}/snapshots/{snapshot_id} Get a snapshot
SnapshotsApi get_snapshot1 GET /rdb/v1/regions/{region}/snapshots/{snapshot_id} Get an instance snapshot
SnapshotsApi list_snapshots GET /instance/v1/zones/{zone}/snapshots List snapshots
SnapshotsApi list_snapshots1 GET /rdb/v1/regions/{region}/snapshots List instance snapshots
SnapshotsApi set_snapshot PUT /instance/v1/zones/{zone}/snapshots/{snapshot_id} Update snapshot
SnapshotsApi update_snapshot PATCH /rdb/v1/regions/{region}/snapshots/{snapshot_id} Update an instance snapshot
TagsApi delete_tag DELETE /registry/v1/regions/{region}/tags/{tag_id} Delete a tag
TagsApi get_tag GET /registry/v1/regions/{region}/tags/{tag_id} Get a tag
TagsApi list_tags GET /registry/v1/regions/{region}/images/{image_id}/tags List all your tags
UserDataApi delete_server_user_data DELETE /instance/v1/zones/{zone}/servers/{server_id}/user_data/{key} Delete user data
UserDataApi get_server_user_data GET /instance/v1/zones/{zone}/servers/{server_id}/user_data/{key} Get user data
UserDataApi list_server_user_data GET /instance/v1/zones/{zone}/servers/{server_id}/user_data List user data
UserDataApi set_server_user_data PATCH /instance/v1/zones/{zone}/servers/{server_id}/user_data/{key} Add/Set user data
UsersApi create_user POST /rdb/v1/regions/{region}/instances/{instance_id}/users Create a user on a given instance
UsersApi delete_user DELETE /iam/v1alpha1/users/{user_id} Delete a guest user from an organization
UsersApi delete_user1 DELETE /rdb/v1/regions/{region}/instances/{instance_id}/users/{name} Delete a user on a given instance
UsersApi get_user GET /iam/v1alpha1/users/{user_id} Retrieve a user from its ID
UsersApi list_users GET /iam/v1alpha1/users List users of an organization
UsersApi list_users1 GET /rdb/v1/regions/{region}/instances/{instance_id}/users List users of a given instance
UsersApi update_user PATCH /rdb/v1/regions/{region}/instances/{instance_id}/users/{name} Update a user on a given instance
VersionsApi get_dns_zone_version_diff GET /domain/v2beta1/dns-zones/version/{dns_zone_version_id}/diff Get DNS zone version diff
VersionsApi get_version GET /k8s/v1/regions/{region}/versions/{version_name} Get details about a specific version
VersionsApi list_dns_zone_version_records GET /domain/v2beta1/dns-zones/version/{dns_zone_version_id} List DNS zone version records
VersionsApi list_dns_zone_versions GET /domain/v2beta1/dns-zones/{dns_zone}/versions List DNS zone versions
VersionsApi list_versions GET /k8s/v1/regions/{region}/versions List all available versions
VersionsApi restore_dns_zone_version POST /domain/v2beta1/dns-zones/version/{dns_zone_version_id}/restore Restore DNS zone version
VolumeTypesApi list_volumes_types GET /instance/v1/zones/{zone}/products/volumes List volumes types
VolumesApi create_volume POST /instance/v1/zones/{zone}/volumes Create a volume
VolumesApi delete_volume DELETE /instance/v1/zones/{zone}/volumes/{volume_id} Delete a volume
VolumesApi get_volume GET /instance/v1/zones/{zone}/volumes/{volume_id} Get a volume
VolumesApi list_volumes GET /instance/v1/zones/{zone}/volumes List volumes
VolumesApi set_volume PUT /instance/v1/zones/{zone}/volumes/{id} Update volume
VolumesApi update_volume PATCH /instance/v1/zones/{zone}/volumes/{volume_id} Update a volume

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

Dependencies

~5–16MB
~214K SLoC