Skip to content

Latest commit

 

History

History
104 lines (58 loc) · 3.56 KB

ImportsExportsApi.md

File metadata and controls

104 lines (58 loc) · 3.56 KB

\ImportsExportsApi

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

Method HTTP request Description
export_raw_dns_zone GET /domain/v2beta1/dns-zones/{dns_zone}/raw Export raw DNS zone
import_provider_dns_zone POST /domain/v2beta1/dns-zones/{dns_zone}/import-provider Import provider DNS zone
import_raw_dns_zone POST /domain/v2beta1/dns-zones/{dns_zone}/raw Import raw DNS zone

export_raw_dns_zone

crate::models::ScalewayPeriodStdPeriodFile export_raw_dns_zone(dns_zone, format) Export raw DNS zone

Get a DNS zone in a given format with default NS.

Parameters

Name Type Description Required Notes
dns_zone String The DNS zone to export [required]
format Option<String> Format for DNS zone [default to bind]

Return type

crate::models::ScalewayPeriodStdPeriodFile

Authorization

scaleway

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

import_provider_dns_zone

crate::models::ScalewayPeriodDomainPeriodV2beta1PeriodImportProviderDnsZoneResponse import_provider_dns_zone(dns_zone, import_provider_dns_zone_request) Import provider DNS zone

Import and replace records from a given provider format with default NS.

Parameters

Name Type Description Required Notes
dns_zone String [required]
import_provider_dns_zone_request ImportProviderDnsZoneRequest [required]

Return type

crate::models::ScalewayPeriodDomainPeriodV2beta1PeriodImportProviderDnsZoneResponse

Authorization

scaleway

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

import_raw_dns_zone

crate::models::ScalewayPeriodDomainPeriodV2beta1PeriodImportRawDnsZoneResponse import_raw_dns_zone(dns_zone, import_raw_dns_zone_request) Import raw DNS zone

Import and replace records from a given provider format with default NS.

Parameters

Name Type Description Required Notes
dns_zone String The DNS zone to import [required]
import_raw_dns_zone_request ImportRawDnsZoneRequest [required]

Return type

crate::models::ScalewayPeriodDomainPeriodV2beta1PeriodImportRawDnsZoneResponse

Authorization

scaleway

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]