All URIs are relative to https://api.scaleway.com
Method | HTTP request | Description |
---|---|---|
get_dns_zone_version_diff | GET /domain/v2beta1/dns-zones/version/{dns_zone_version_id}/diff | Get DNS zone version diff |
get_version | GET /k8s/v1/regions/{region}/versions/{version_name} | Get details about a specific version |
list_dns_zone_version_records | GET /domain/v2beta1/dns-zones/version/{dns_zone_version_id} | List DNS zone version records |
list_dns_zone_versions | GET /domain/v2beta1/dns-zones/{dns_zone}/versions | List DNS zone versions |
list_versions | GET /k8s/v1/regions/{region}/versions | List all available versions |
restore_dns_zone_version | POST /domain/v2beta1/dns-zones/version/{dns_zone_version_id}/restore | Restore DNS zone version |
crate::models::ScalewayPeriodDomainPeriodV2beta1PeriodGetDnsZoneVersionDiffResponse get_dns_zone_version_diff(dns_zone_version_id) Get DNS zone version diff
Get all differences from a previous DNS zone version.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
dns_zone_version_id | String | (UUID format) | [required] |
crate::models::ScalewayPeriodDomainPeriodV2beta1PeriodGetDnsZoneVersionDiffResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodK8sPeriodV1PeriodVersion get_version(region, version_name) Get details about a specific version
This method allows to get a specific Kubernetes version and the details about the version.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] | |
version_name | String | The requested version name | [required] |
crate::models::ScalewayPeriodK8sPeriodV1PeriodVersion
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodDomainPeriodV2beta1PeriodListDnsZoneVersionRecordsResponse list_dns_zone_version_records(dns_zone_version_id, page, page_size) List DNS zone version records
Get a list of records from a previous DNS zone version.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
dns_zone_version_id | String | (UUID format) | [required] | |
page | Option<i32> | The page number for the returned DNS zones versions records | [default to 1] | |
page_size | Option<i32> | The maximum number of DNS zones versions records per page | [default to 20] |
crate::models::ScalewayPeriodDomainPeriodV2beta1PeriodListDnsZoneVersionRecordsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodDomainPeriodV2beta1PeriodListDnsZoneVersionsResponse list_dns_zone_versions(dns_zone, page, page_size) List DNS zone versions
Get a list of DNS zone versions.
The maximum version count is 100.
If the count reaches this limit, the oldest version will be deleted after each new modification.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
dns_zone | String | [required] | ||
page | Option<i32> | The page number for the returned DNS zones versions | [default to 1] | |
page_size | Option<i32> | The maximum number of DNS zones versions per page | [default to 20] |
crate::models::ScalewayPeriodDomainPeriodV2beta1PeriodListDnsZoneVersionsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::ScalewayPeriodK8sPeriodV1PeriodListVersionsResponse list_versions(region) List all available versions
This method allows to list all available versions for the creation of a new Kubernetes cluster.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
region | String | The region you want to target | [required] |
crate::models::ScalewayPeriodK8sPeriodV1PeriodListVersionsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
serde_json::Value restore_dns_zone_version(dns_zone_version_id, body) Restore DNS zone version
Restore and activate a previous DNS zone version.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
dns_zone_version_id | String | (UUID format) | [required] | |
body | serde_json::Value | [required] |
serde_json::Value
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]