Skip to main content

saps

Creates, updates, deletes, gets or lists a saps resource.

Overview​

Namesaps
TypeResource
Idovh.dedicated_cloud.saps

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
task_idstring (uuid)Uniquely identifies each set of pre-installation tasks. (wire: taskId)
application_typestringDescribes the type of SAP application that is being installed as part of the pre-installation tasks. (ABAP, JAVA) (wire: applicationType)
application_versionstringDescribes the specific version of the SAP application that is being installed during the pre-installation process. (wire: applicationVersion)
clean_statusstringProvides the current status of the clean-up operations performed as part of the pre-installation tasks. (FAILURE, PENDING, RETRY, REVOKED, STARTED, SUCCESS) (wire: cleanStatus)
deployment_typestringDescribes the type of deployment strategy being used for the SAP installation during the pre-installation process. (Distributed, High-Availability, Standard) (wire: deploymentType)
end_timestringRecords the date and time when the pre-installation tasks were finished. (wire: endTime)
error_messagestringContains a detailed error message if any issues or failures occurred during the execution of the pre-installation tasks. (wire: errorMessage)
gateway_statusstringProvides the current operational state of the Gateway component during the pre-installation process. (FAILURE, PENDING, RETRY, REVOKED, STARTED, SUCCESS) (wire: gatewayStatus)
iamobjectIAM resource metadata
sap_hana_installation_statusstringProvides the current operational state of the SAP HANA installation during the pre-installation process. (FAILURE, PENDING, RETRY, REVOKED, STARTED, SUCCESS) (wire: sapHanaInstallationStatus)
sap_hana_sidstringDescribes the System ID (SID) assigned to the SAP HANA instance being installed as part of the pre-installation tasks. (wire: sapHanaSid)
sap_sidstringDescribes the System ID (SID) assigned to the SAP system being installed as part of the pre-installation tasks. (wire: sapSid)
sap_system_installation_statusstringProvides the current operational state of the SAP system installation during the pre-installation process. (FAILURE, PENDING, RETRY, REVOKED, STARTED, SUCCESS) (wire: sapSystemInstallationStatus)
start_timestringRecords the date and time when the pre-installation tasks were initiated. (wire: startTime)
statusstringProvides an overview of the current overall status of the pre-installation tasks. (FAILURE, PENDING, RETRY, REVOKED, STARTED, SUCCESS)
vm_deployment_statusstringProvides the current operational state of virtual machines deployment during the pre-installation process. (FAILURE, PENDING, RETRY, REVOKED, STARTED, SUCCESS) (wire: vmDeploymentStatus)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_name, task_idReturns the status of the task and of each step, from virtual machine deployment to SAP installation, with an error message if a step fails.
listselectservice_nameiam_tagsReturns the pre-installation tasks of the service and their status.
createinsertservice_name, application_servers, application_type, application_version, bucket_sources, cluster_name, datacenter_id, deployment_type, domain_name, firewall, hana_servers, os_update, passwords, sids, system_usageStarts a task that deploys the SAP HANA and application server virtual machines in a datacenter of the service, then installs SAP HANA and the SAP system. Only one task can run at a time on the service. To check the parameters without starting a task, use the validate endpoint.
deletedeleteservice_name, task_idDeletes the task. The virtual machines it deployed are kept.

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.

NameDatatypeDescription
api_hoststringThe 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"}})
service_namestringDomain of the service (wire: serviceName)
task_idstring (uuid)Task ID (wire: taskId)
iam_tagsobjectFilter resources on IAM tags (wire: iamTags)

SELECT examples​

Returns the status of the task and of each step, from virtual machine deployment to SAP installation, with an error message if a step fails.

SELECT
task_id,
application_type,
application_version,
clean_status,
deployment_type,
end_time,
error_message,
gateway_status,
iam,
sap_hana_installation_status,
sap_hana_sid,
sap_sid,
sap_system_installation_status,
start_time,
status,
vm_deployment_status
FROM ovh.dedicated_cloud.saps
WHERE service_name = '{{ service_name }}' -- required
AND task_id = '{{ task_id }}' -- required
;

INSERT examples​

Starts a task that deploys the SAP HANA and application server virtual machines in a datacenter of the service, then installs SAP HANA and the SAP system. Only one task can run at a time on the service. To check the parameters without starting a task, use the validate endpoint.

INSERT INTO ovh.dedicated_cloud.saps (
application_servers,
application_type,
application_version,
bucket_backint,
bucket_sources,
cluster_name,
datacenter_id,
deployment_type,
domain_name,
firewall,
hana_servers,
logs_data_platform,
os_license,
os_update,
passwords,
service_name,
sids,
system_usage,
service_name
)
SELECT
'{{ application_servers }}' /* required */,
'{{ application_type }}' /* required */,
'{{ application_version }}' /* required */,
'{{ bucket_backint }}',
'{{ bucket_sources }}' /* required */,
'{{ cluster_name }}' /* required */,
{{ datacenter_id }} /* required */,
'{{ deployment_type }}' /* required */,
'{{ domain_name }}' /* required */,
'{{ firewall }}' /* required */,
'{{ hana_servers }}' /* required */,
'{{ logs_data_platform }}',
'{{ os_license }}',
{{ os_update }} /* required */,
'{{ passwords }}' /* required */,
'{{ service_name }}',
'{{ sids }}' /* required */,
'{{ system_usage }}' /* required */,
'{{ service_name }}'
;

DELETE examples​

Deletes the task. The virtual machines it deployed are kept.

DELETE FROM ovh.dedicated_cloud.saps
WHERE service_name = '{{ service_name }}' --required
AND task_id = '{{ task_id }}' --required
;