account_migrate_destination_email_address_check_migrates
Creates, updates, deletes, gets or lists an account_migrate_destination_email_address_check_migrates resource.
Overview​
| Name | account_migrate_destination_email_address_check_migrates |
| Type | Resource |
| Id | ovh.email_domain.account_migrate_destination_email_address_check_migrates |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
alias | array | List of aliases |
error | array | List of errors |
filter | array | List of filters |
forward | array | List of forwards |
warning | array | List of warnings |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | account_name, destination_email_address, destination_service_name, domain | Check an email account migration. Returns the errors and warnings found for the migration to the destination account, and the aliases, filters and forwards found. (Beta version) |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_name | string | Name of account (wire: accountName) |
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
destination_email_address | string | Destination account name (wire: destinationEmailAddress) |
destination_service_name | string | Service name allowed as migration destination (wire: destinationServiceName) |
domain | string | Name of your domain name |
SELECT examples​
- get
Check an email account migration. Returns the errors and warnings found for the migration to the destination account, and the aliases, filters and forwards found. (Beta version)
SELECT
alias,
error,
filter,
forward,
warning
FROM ovh.email_domain.account_migrate_destination_email_address_check_migrates
WHERE account_name = '{{ account_name }}' -- required
AND destination_email_address = '{{ destination_email_address }}' -- required
AND destination_service_name = '{{ destination_service_name }}' -- required
AND domain = '{{ domain }}' -- required
;