email_pro_options_is_email_availables
Creates, updates, deletes, gets or lists an email_pro_options_is_email_availables resource.
Overview​
| Name | email_pro_options_is_email_availables |
| Type | Resource |
| Id | ovh.pack_xdsl.email_pro_options_is_email_availables |
Fields​
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
value | boolean |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | email, pack_name | Get whether an address is available for Email Pro. Returns whether the given email address can be used to activate an Email Pro service of the xDSL pack. |
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 |
|---|---|---|
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"}}) |
email | string | The email address |
pack_name | string | The internal name of your pack (wire: packName) |
SELECT examples​
- get
Get whether an address is available for Email Pro. Returns whether the given email address can be used to activate an Email Pro service of the xDSL pack.
SELECT
value
FROM ovh.pack_xdsl.email_pro_options_is_email_availables
WHERE email = '{{ email }}' -- required
AND pack_name = '{{ pack_name }}' -- required
;