Data Payload
General
Advanced Reconfigure: Service Levels and Storage Policies
Important 1: For this API call to succeed, the VM needs to be powered off.
Important 2: This action lets you configure (1) the service level and datacenter location and (2) the disk's storage policies. Even if only the datacenter location value needs to be changed, all current targetDisk values still have to be submitted via this API call. Also, if only the disk policies need to be changed, the current location still has to be submitted via this API call. Otherwise the call will fail.
Important 3: Make sure that you only set a datacenter location that fits the selected serviceLevel, see here for more details.
Parameter | Type | Required | Possible Values |
---|---|---|---|
__businessGroup | string | true | |
location | string | true | |
locationConstraint | string | if `serviceLevel == 'Advanced'` | |
serviceLevel | string | false |
|
targetPolicyDisk0 | string | if `existingDisks.length >= 1` |
|
targetPolicyDisk1 | string | if `existingDisks.length >= 2` |
|
targetPolicyDisk2 | string | if `existingDisks.length >= 3` |
|
targetPolicyDisk3 | string | if `existingDisks.length >= 4` |
|
targetPolicyDisk4 | string | if `existingDisks.length >= 5` |
|
targetPolicyDisk5 | string | if `existingDisks.length >= 6` |
|
targetPolicyDisk6 | string | if `existingDisks.length >= 7` |
|
targetPolicyDisk7 | string | if `existingDisks.length >= 8` |
|
targetPolicyDisk8 | string | if `existingDisks.length >= 9` |
|
targetPolicyDisk9 | string | if `existingDisks.length >= 10` |
|
tenantName | string | true |
Example Data Payload:
{
"__businessGroup": "businessgroup005",
"location": "Olten - Gold Datacenter",
"locationConstraint": "VM_WL-Str-Prd-01_Should_SRV_OLT",
"serviceLevel": "Advanced",
"targetPolicyDisk0": "Economy-SRev",
"targetPolicyDisk1": "Economy-SRev",
"targetPolicyDisk2": "Economy-SRev",
"targetPolicyDisk3": "Economy-SRev",
"targetPolicyDisk4": "Economy-SRev",
"targetPolicyDisk5": "Economy-SRev",
"targetPolicyDisk6": "Economy-SRev",
"targetPolicyDisk7": "Economy-SRev",
"targetPolicyDisk8": "Economy-SRev",
"targetPolicyDisk9": "Economy-SRev",
"tenantName": "tenant-005"
}
Reconfigure a machine.
Important: For this API call to succeed, the VM needs to be in
Customer Maintenance
orTemp Admin
mode.
Make sure to request the template for this action to receive all current configurations. Only change the needed configurations and submit all existing configurations together with your changes.
The existing configurations for customProperties
, disks
and nics
need to be submitted in any case. For example: If you change only the description and set customProperties
to []
or null
, all custom properties would be deleted.
Warning: Make sure to always submit the existing configurations together with your changes, never submit only your changes.
Important: You cannot create Disks or Nics with this action, you can only change their properties.
Parameter | Type | Required | Possible Values |
---|---|---|---|
allowForceShutdown | string | false |
|
cpu | number | false | |
customProperties | customProperty[] | true | |
description | string | false | |
disks | disk[] | true | |
executionSelector | string | false | |
memory | number | false | |
nics | nic[] | true | |
powerActionSelector | string | false | |
requestor | string | false |
Example Data Payload:
{
"allowForceShutdown": "false",
"cpu": 2,
"customProperties": [
"<--customPropertyObjectsFromActionTemplate-->"
],
"description": "This is a Swisscom machine.",
"disks": [
"<--diskObjectsFromActionTemplate-->"
],
"executionSelector": "1",
"memory": 8192,
"nics": [
"<--nicObjectsFromActionTemplate-->"
],
"powerActionSelector": "0",
"requestor": "APIUser"
}
Shows the existing Technical Contact Data of a VM, allows to change this Contact Data
Parameter | Type | Required | Possible Values |
---|---|---|---|
technicalContactEmail | string | true | ^[A-Za-z0-9.!#$%&'*+-/=?^_`{|}~]+[@]([a-z0-9]+[.])+[a-z]+$ |
technicalContactPhone | string | true | /^[+]{0,1}[0-9 ]+$/ |
Example Data Payload:
{
"technicalContactEmail": "test@swisscom.com",
"technicalContactPhone": "0800 800 800"
}
File Service Premium
File Service Instance
Adds a container of the premium product-model. Relevant for the billed price is the pre-allocated storage size, independent of the effectively used amount.
Parameter | Type | Required | Possible Values |
---|---|---|---|
backup_policy | string | true |
|
instanceName | string | true | |
performanceClass | string | true |
|
protection | string | true |
|
Example Data Payload:
{
"backup_policy": "none",
"instanceName": "NfsTestContainer",
"performanceClass": "eco",
"protection": "single_site"
}
Adds a container of the premium product-model. Relevant for the billed price is the pre-allocated storage size, independent of the effectively used amount.
Parameter | Type | Required | Possible Values |
---|---|---|---|
p_backup_policy | string | true |
|
p_friendly_name | string | true | |
p_performance_class | string | true |
|
p_protection | string | true |
|
Example Data Payload:
{
"p_backup_policy": "none",
"p_friendly_name": "SmbTestContainer",
"p_performance_class": "eco",
"p_protection": "single_site"
}
Creates a iSCSI Container for the File System Service.
Parameter | Type | Required | Possible Values |
---|---|---|---|
backupPolicy | string | true |
|
instanceName | string | true | |
performanceClass | string | true |
|
protection | string | true |
|
Example Data Payload:
{
"backupPolicy": "none",
"instanceName": "my container",
"performanceClass": "eco",
"protection": "single_site"
}
Creates a iSCSI Initiator Group for the File System Service.
Parameter | Type | Required | Possible Values |
---|---|---|---|
instanceName | string | true | /^[a-zA-Z]{1}[0-9a-zA-Z_-]{1,49}$/ |
operatingSystem | string | true |
|
Example Data Payload:
{
"instanceName": "initiatorGroup1",
"operatingSystem": "linux"
}
Deletes the File Service.
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Edit Name, DNS Servers, DNS Domain Name and nfsv4 Domain Name
Parameter | Type | Required | Possible Values |
---|---|---|---|
instanceName | string | ||
dnsServer | string | If dnsDomainName != null | |
dnsDomainName | string | If dnsServer != null | |
nfsv4DomainName | string | false |
Example Data Payload:
{
"instanceName": "TestFileService",
"dnsServer": "192.168.1.1, 192.168.10.1, 192.168.100.50",
"dnsDomainName": "storage.local",
"nfsv4DomainName": "storage.local"
}
iSCSI Initiator Group
Creates a iSCSI Initiator for the iSCSI Initiator Group.
Parameter | Type | Required | Possible Values |
---|---|---|---|
instanceName | string | true | |
initiator | string | true | /^(?=.{15,223}$)iqn\.\d{4}-\d{2}(?:\.[A-Za-z](?:[A-Za-z0-9\-]*[A-Za-z0-9])?)+(?::.([^,:\s']+))?$|^eui\.[0-9A-Fa-f]{16}$/ |
Example Data Payload:
{
"instanceName": "myInitiator",
"initiator": "iqn.2020-04.sample"
}
Delete iSCSI Initiator Group
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
iSCSI Initiator
Delete iSCSI Initiator
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
This action cannot be submitted. It is used to read values via the GUI. If you want to read the form values of this action, you have to use the forms API.
Payload for /forms/request/update:
{
"affectedElements": [
"provider-initiatorUsername",
"provider-initiatorPassword",
"provider-targetUsername",
"provider-targetPassword"
]
}
iSCSI Container
Creates a iSCSI LUN for the iSCSI Container.
Parameter | Type | Required | Possible Values |
---|---|---|---|
lunName | string | true | /^[a-zA-Z]{1}[0-9a-zA-Z_-]{1,15}$/ |
lunId | int | false | |
sizeGib | int | true | |
intiatorGroup | string | true |
Example Data Payload:
{
"lunName": "testLun-1",
"lunId": "10",
"sizeGib": "4",
"intiatorGroup": "initiatorgroup (ad3774e9-ae21-4cb2-a0fd-fe7e1378e18d)"
}
Edit iSCSI Container.
Parameter | Type | Required | Possible Values |
---|---|---|---|
instanceName | string | true | |
performanceClass | string | true |
|
backupPolicy | string | true |
|
Example Data Payload:
{
"instanceName": "my container",
"performanceClass": "eco",
"backupPolicy": "none"
}
Delete iSCSI Container
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
iSCSI LUN
Edit the iSCSI LUN of the iSCSI Container.
Parameter | Type | Required | Possible Values |
---|---|---|---|
sizeGib | int | true |
Example Data Payload:
{
"sizeGib": "4"
}
Delete iSCSI LUN
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
NFS Container Premium
Edits a container of the premium product-model. Relevant for the billed price is the pre-allocated storage size, independent of the effectively used amount.
Parameter | Type | Required | Possible Values |
---|---|---|---|
instanceName | string | true | |
performanceClass | string | true |
|
backupPolicy | string | true |
|
Example Data Payload:
{
"instanceName": "newcontainer",
"performanceClass": "eco",
"backupPolicy": "none"
}
Deletes the NFS dedicated container.
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Creates a new NFS share / export. Mounting permissions can be defined in a granular way. In the premium model, the shares have a predefined size.
Parameter | Type | Required | Possible Values |
---|---|---|---|
allowedAccessList | string | true | |
shareName | string | true | /^[a-zA-Z]{1}[0-9a-zA-Z_-]{1,15}$/ |
sizeGib | integer | true |
Example Data Payload:
{
"allowedAccessList": "vm.storage.local~rw,10.144.20.156~rsrw,10.144.20.248~alls,10.144.20.248~alrs",
"shareName": "NfsTestShare",
"sizeGib": 2
}
NFS Share Premium
Modifies the NFS share / export.
Parameter | Type | Required | Possible Values |
---|---|---|---|
allowedAccessList | string | true | |
sizeGib | number | true |
Example Data Payload:
{
"allowedAccessList": "vm.storage.local~rw,10.144.20.156~rsrw,10.144.20.248~alls,10.144.20.248~alrs",
"sizeGib": 3
}
Deletes the NFS dedicated export
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
SMB Container Premium
Edits a container of the premium product-model. Relevant for the billed price is the pre-allocated storage size, independent of the effectively used amount.
Parameter | Type | Required | Possible Values |
---|---|---|---|
instanceName | string | true | |
performanceClass | string | true |
|
backupPolicy | string | true |
|
Example Data Payload:
{
"instanceName": "DnsTestContainer",
"performanceClass": "eco",
"backupPolicy": "none"
}
Deletes the SMB dedicated container.
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Creates a new SMB share / export. Mounting permissions can be defined in a granular way. In the premium model, the shares have a predefined size.
Parameter | Type | Required | Possible Values |
---|---|---|---|
shareName | string | true | /^[a-zA-Z][0-9a-zA-Z_-]{2,15}$|^[a-zA-Z][0-9a-zA-Z_-]{2,14}\$$/ |
sizeGib | number | true | |
antiVirusScanEnable | boolean | true | |
encryptionEnabled | boolean | true |
Example Data Payload:
{
"shareName": "ShareTestName",
"sizeGib": 2,
"antiVirusScanEnable": false,
"encryptionEnabled": true
}
SMB Share Premium
Modifies the SMB share / export.
Parameter | Type | Required | Possible Values |
---|---|---|---|
sizeGib | number | true | |
antiVirusScanEnable | boolean | true | |
encryptionEnabled | boolean | true |
Example Data Payload:
{
"sizeGib": 3,
"antiVirusScanEnable": false,
"encryptionEnabled": true
}
Deletes the SMB dedicated share
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Kubernetes
Kubernetes Environment
Parameter | Type | Required | Possible Values |
---|---|---|---|
parentRef | string | true | |
planName | string | true |
|
hostname | string | true | |
workerNodePools | array | true |
|
lbSize | string | true |
|
insecureRegistries | string | false |
Example Data Payload:
{
"parentRef": "Kubernetes Environment - 22e7f853-2242-4858-8ba4-c5a222a04e96",
"planName": "basic",
"hostname": "test.test.com",
"workerNodePools": [
{
"name": "profile-1",
"cpu": 2,
"memory_gb": 8,
"persistent_disk_gb": 32,
"count": 3,
"node_labels": "team=red,billing=yes",
"node_taints": "taint=test:PreferNoSchedule,taint=prd:NoExecute"
}
],
"lbSize": "medium",
"insecureRegistries": "insecure.dontdo.that, insecure.onlyfor.dev"
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
This action does not work via API call since it shows the IP allocations only when opening the action form - and not when submitting the POST request. This action is available from v135.
Kubernetes Cluster
Parameter | Type | Required | Possible Values |
---|---|---|---|
datastoreCount | number | true |
Example Data Payload:
{
"datastoreCount": 1
}
This action cannot be submitted. It is used to read values via the GUI. If you want to read the form values of this action, you have to use the forms API.
Payload for /forms/request/update:
{
"affectedElements": ["provider-credentials"]
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
workerNodePools | array | true |
|
insecureRegistries | string | true | |
customerFwActive | boolean | true | |
customerFwRules | string | if customerFwActive === true | |
idpActive | boolean | false | |
idpClientId | string | if idpActive == true | |
idpIssuerUrl | string | if idpActive == true | |
idpUsernameClaim | string | if idpActive == true | |
idpCaFile | string | if idpActive == true |
Example Data Payload:
{
"workerNodePools": [
{
"name": "profile-1",
"cpu": 2,
"memory_gb": 8,
"persistent_disk_gb": 32,
"count": 3
}
],
"insecureRegistries": "None",
"customerFwActive": true,
"customerFwRules": "[{\"name\": \"Rule1\", \"ip_range\": \"10.0.0.0/16\", \"protocol\": \"any\"}]"
}
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
Managed MS SQL
An existing DB can be added to an existing availability group. If the host currently running the database ist not the primary node of the target availability group, the availability group will be moved.
Parameter | Type | Required | Possible Values |
---|---|---|---|
ag | string | true | |
database | string | true |
Example Data Payload:
{
"ag": "AG-L01",
"database": "myDatabase"
}
Generates a schema-only clone of a database.
Parameter | Type | Required | Possible Values |
---|---|---|---|
DatabaseName | string | true |
Example Data Payload:
{
"DatabaseName": "Database1"
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
DataGrowth | decimal | true | |
DataInitSize | decimal | true | |
DataMaxSize | decimal | true | |
DatabaseName | string | true | /^(?:[A-Za-z_][\\w@$#_]{0,120})$/ |
LogGrowth | decimal | true | |
LogInitSize | decimal | true | |
LogMaxSize | decimal | true | |
LoginPw | string | true | |
LoginPwRepeat | string | if unmanaged | |
vmPassword | string | if unmanaged | |
vmUsername | string | if unmanaged |
Example Data Payload:
{
"DataGrowth": 200,
"DataInitSize": 1000,
"DataMaxSize": 2000,
"DatabaseName": "myDatabase",
"LogGrowth": 200,
"LogInitSize": 200,
"LogMaxSize": 400,
"LoginPw": "aBcDeFgHi123",
"LoginPwRepeat": "aBcDeFgHi123",
"vmPassword": "myVmPassword123",
"vmUsername": "myVmUser"
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
DatabaseName | string | true | |
vmPassword | string | if unmanaged | |
vmUsername | string | if unmanaged |
Example Data Payload:
{
"DatabaseName": "myDatabase",
"vmPassword": "myVmPassword123",
"vmUsername": "myVmUser"
}
Export for Microsoft SQL Server databases using full backup files (.bak files) and stored on your S3 bucket.
Parameter | Type | Required | Possible Values |
---|---|---|---|
managed | boolean | If VM is a managed VM. | |
vmUsername | string | if unmanaged | |
vmPassword | string | if unmanaged | |
databaseName | string | true | |
accessKeyId | string | true | |
secretAccessKey | string | true | |
exportPath | string | true |
Example Data Payload:
{
"managed": true,
"vmUsername": "myVmUser",
"vmPassword": "myVmPassword123",
"databaseName": "myDatabase",
"accessKeyId": "",
"secretAccessKey": "",
"exportPath": "mybucketname/myfilename"
}
Import for Microsoft SQL Server databases using full backup files (.bak files) stored on your S3 bucket.
Parameter | Type | Required | Possible Values |
---|---|---|---|
accessKeyId | string | true | |
secretAccessKey | string | true | |
restoreFrom | string | true | /(.*\/)*.+\.(bak|BAK)$/ |
databaseName | string | true | |
loginPw | string | true | |
loginPwRepeat | string | true |
Example Data Payload:
{
"accessKeyId": "",
"secretAccessKey": "",
"restoreFrom": "transfer_bucket/db_dump.bak",
"databaseName": "myDatabase",
"loginPw": "aBcDeFgHi123",
"loginPwRepeat": "aBcDeFgHi123"
}
Used to change Agent Based Backup Policy. If there was no Policy set, it will install and activate Agent Based Backup.
Parameter | Type | Required | Possible Values |
---|---|---|---|
newPolicy | string | true |
|
Example Data Payload:
{
"newPolicy": "P01-FullDaily-TLog15Minutes-Retention90D"
}
An user can use Mass Migrate MS SQL Databases feature to move multiple or very large databases to Swisscom's Enterprise Service Cloud Services.
Parameter | Type | Required | Possible Values |
---|---|---|---|
accessKeyId | string | true | |
secretAccessKey | string | true | |
restoreFrom | string | true | /^[^\/].*\/.*/ |
actionType | string | true |
|
databaseName | string | true | |
loginPw | string | true | |
loginPwRepeat | string | true |
Example Data Payload:
{
"accessKeyId": "",
"secretAccessKey": "",
"restoreFrom": "myBucket/myFolder",
"actionType": "Recovery",
"databaseName": "All",
"loginPw": "some$password123",
"loginPwRepeat": "some$password123"
}
An availability group can be moved from one node to the other.
Parameter | Type | Required | Possible Values |
---|---|---|---|
ag | string | true |
Example Data Payload:
{
"ag": "AG-L01"
}
A DB can be removed from an availability group. The DB will be then removed on the replica, but not from the primary.
Parameter | Type | Required | Possible Values |
---|---|---|---|
database | string | true |
Example Data Payload:
{
"database": "myDatabase"
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
backupAllDatabases | boolean | If 'databaseNames' is not set. | |
backupType | string | true |
|
compressionType | string | true |
|
databaseNames | string[] | If 'backupAllDatabases' is false | |
managed | boolean | true | |
tenant | string | true | |
useEncryption | boolean | false | |
vmPassword | string | If 'managed' is false | |
vmUsername | string | If 'managed' is false |
Example Data Payload:
{
"backupAllDatabases": false,
"backupType": "Full",
"compressionType": "Networker",
"databaseNames": [
"Database1"
],
"managed": true,
"tenant": "yourtenant-005",
"useEncryption": false
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
businessGroupId | string | true | |
databaseName | string | true | |
managed | boolean | true | |
manualInput | boolean | If 'timeFromList' is undefined | |
tenant | string | true | |
time | string | If 'manualInput' is true | |
timeFromList | string | If 'manualInput' is false | |
vmPassword | string | If 'managed' is false | |
vmUsername | string | If 'managed' is false |
Example Data Payload:
{
"businessGroupId": "businessGroup005",
"databaseName": "database001",
"managed": true,
"manualInput": true,
"tenant": "tenant-005",
"time": "2020-04-25T16:30:00.000+0200",
"timeFromList": "Thu Apr 23 2020 15:09:49 GMT-0000 (UTC)"
}
Reconfigure Always On Disk must be run on both nodes seperatliy, with the same values.
Parameter | Type | Required | Possible Values |
---|---|---|---|
diskIndex | number | true |
|
diskSize | number | true |
Example Data Payload:
{
"diskIndex": "0",
"diskSize": "50"
}
Using this second day action "Set MS SQL Monitoring" the user is able to enable Telegraf monitoring agent with custom defined parameters. This can be used to set alerting or visualization dashboards in a SQL Instance.
Parameter | Type | Required | Possible Values |
---|---|---|---|
Provider Name | string | true | |
Telegraf Configuration | string | true |
Example Data Payload:
{
"Provider Name": "Telegraf",
"Telegraf Configuration": "Check README in Technical Description \"Monitoring Microsoft SQL Server\""
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
blueprintName | string | true |
|
target | string | true | |
confirm | boolean | false |
|
Example Data Payload:
{
"blueprintName": "Managed MS SQL DBMS 2019",
"target": "YourVmName",
"confirm": "true"
}
Transfer files from a S3 bucket to a local directory on the MS SQL Server. By doing this, you can use these files with SQL Server features such as BULK INSERT. Consult the documentation for supported file extensions.
Parameter | Type | Required | Possible Values |
---|---|---|---|
overwriteExistingFiles | boolean | true | |
uploadFrom | string | true | /^[^\/].*\/.*/ |
accessKeyId | string | true | |
secretAccessKey | string | true |
Example Data Payload:
{
"overwriteExistingFiles": true,
"uploadFrom": "myBucket/myFolder",
"accessKeyId": "",
"secretAccessKey": ""
}
Manage permissions on a SQL Server in addition to the pre-installed stored procedures.
Parameter | Type | Required | Possible Values |
---|---|---|---|
actionType | string | true |
|
loginName | string | true | |
loginPw | string | If actionType is ‘createCustomerAdmin’ | |
loginPwRepeat | string | If 'loginPw' is not 'null' |
Example Data Payload:
{
"actionType": "createCustomerAdmin",
"loginName": "usernameAbc",
"loginPw": "Password$123",
"loginPwRepeat": "Password$123"
}
2nd day action that is applicable to 2017 and 2019 MS SQL managed instances for installation of cumulative update
Parameter | Type | Required | Possible Values |
---|---|---|---|
CUList | string | true |
Example Data Payload:
{
"CUList": "P00_ALL_SWP_sqlserver2017-SQL Server 2017 RTM Cumulative Update (CU) 30 KB5013756"
}
Managed Oracle Database (Regular)
CDB Actions
Actions to be executed on a CDB instance.
Parameter | Type | Required | Possible Values |
---|---|---|---|
p_enable_oracle_text_option | boolean | true | |
p_friendly_name | string | true | |
p_operation_support_type | string | true |
|
p_pdb_character_set_type | string | true |
|
p_pdb_lockdown_profile_type | string | true |
|
p_pdb_service_name | string | true | /^[a-zA-Z0-9-._]{0,64}$/ |
planName | string | true |
|
p_pdb_security_shape_type | string | true | |
__osbServiceName | string | true |
|
Example Data Payload:
{
"p_enable_oracle_text_option": false,
"p_friendly_name": "TestPDB",
"p_operation_support_type": "office hours",
"p_pdb_character_set_type": "AL32UTF8",
"p_pdb_lockdown_profile_type": "Default",
"p_pdb_service_name": "host1.example.com",
"planName": "EE Default",
"p_pdb_security_shape_type": "sc_cis_recommendations",
"__osbServiceName": "MODS Regular PDB (EE)"
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
serviceName | string | true |
|
planName | string | true |
|
p_plan_mode | string | if 'Advanced' |
|
p_friendly_name | string | true | |
p_vm_cpu_count | decimal | true | |
p_enabled_backup_configuration | boolean | true |
Example Data Payload:
{
"serviceName": "MODS Regular CDB (EE)",
"planName": "EE Advanced",
"p_plan_mode": "SYNC_FSFO",
"p_friendly_name": "TestFriendlyName",
"p_vm_cpu_count": 4,
"p_enabled_backup_configuration": false
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
p_confirm | boolean | true |
Example Data Payload:
{
"p_confirm": true
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
oracle_db_version_type | string | true |
Example Data Payload:
{
"oracle_db_version_type": "19.16.0"
}
Create CDB can be found under catalog requests.
PDB Actions
Actions to be executed on a PDB instance.
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
p_friendly_name | string | true | |
p_pdb_lockdown_profile_type | string | true |
|
p_operation_support_type | string | true |
|
p_pdb_security_shape_type | string | true | |
p_enable_oracle_text_option | boolean | true |
Example Data Payload:
{
"p_friendly_name": "TestPDB",
"p_pdb_lockdown_profile_type": "Default",
"p_operation_support_type": "office hours",
"p_pdb_security_shape_type": "sc_cis_recommendations",
"p_enable_oracle_text_option": false
}
For more details about the cloning feature please use the "User Guide" for "Clone Pluggable Database PDB"
Parameter | Type | Required | Possible Values |
---|---|---|---|
__cdbId | string | true | |
p_pdb_clone_type | string | true |
|
pdb_clone_timestamp | string | true | /^([2][0][1|2][0-9])-(([0][1-9])|([1][0-2]))-(([0][1-9])|([1-2][0-9])|([3][0-1])) (([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])$/ |
target_cdb_instance_id | string | true | |
p_enable_pdb_replication | boolean | true |
|
p_pdb_service_name | string | true | /^[a-zA-Z0-9-._]{0,64}$/ |
p_friendly_name | string | true | |
p_operation_support_type | string | true | |
p_pdb_lockdown_profile_type | string | true |
|
p_pdb_security_shape_type | string | true | |
planName | string | true |
|
p_pdb_character_set_type | string | true | |
p_enable_oracle_text_option | boolean | true | |
__osbPdbServiceName | string | true |
|
Example Data Payload:
{
"__cdbId": "3a183496-7454-4f3f-8e2e-aca30eb28124",
"p_pdb_clone_type": "restore",
"pdb_clone_timestamp": "2021-12-03 10:15:30",
"target_cdb_instance_id": "58b22aae-35f7-4da4-b131-03162d039264",
"p_enable_pdb_replication": "true",
"p_pdb_service_name": "myPdbClone",
"p_friendly_name": "myPdbClone",
"p_operation_support_type": "office hours",
"p_pdb_lockdown_profile_type": "Default",
"p_pdb_security_shape_type": "sc_cis_recommendations",
"planName": "EE Default Clone",
"p_pdb_character_set_type": "AL32UTF8",
"p_enable_oracle_text_option": "false",
"__osbPdbServiceName": "MODS Regular PDB (EE)"
}
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
Parameter | Type | Required | Possible Values |
---|---|---|---|
p_nfs_uri | string | true |
Example Data Payload:
{
"p_nfs_uri": "192.168.101.4:/aa12_a939_0002/NFSShareTest"
}
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
The PDB can be restored to any time within the retention time. Timestamp must not point to the future and must not be older than 11 days
Parameter | Type | Required | Possible Values |
---|---|---|---|
pdbPitrTimestamp | string | true | /^([2][0][1|2][0-9])-(([0][1-9])|([1][0-2]))-(([0][1-9])|([1-2][0-9])|([3][0-1])) (([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])$/ |
Example Data Payload:
{
"pdbPitrTimestamp": "2022-01-03 10:15:30"
}
Credentials Actions
Actions to be executed on a Managed Oracle Database PDB Credentials object.
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
Managed Oracle Database (Highend)
PDB Actions
Actions to be executed on a PDB instance.
Enables to clone a PDB from source into a destination on the same or a different (restore clone) CDB
Parameter | Type | Required | Possible Values |
---|---|---|---|
pdb_clone_type | string | true |
|
pdb_clone_timestamp | string | false | /^([2][0][1|2][0-9])-(([0][1-9])|([1][0-2]))-(([0][1-9])|([1-2][0-9])|([3][0-1])) (([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])$/ |
target_cdb_for_pdb_clone_name | string | true | |
enable_pdb_replication | boolean | false | |
friendly_name | string | true | |
operation_support_type | string | true |
|
resource_prioritization | string | true |
|
pdb_lockdown_profile_type | string | true |
|
pdb_security_shape_type | string | true |
|
Example Data Payload:
{
"pdb_clone_type": "restore",
"pdb_clone_timestamp": "2022-01-05 10:20:00",
"target_cdb_for_pdb_clone_name": null,
"enable_pdb_replication": true,
"friendly_name": null,
"operation_support_type": "office hours",
"resource_prioritization": "low",
"pdb_lockdown_profile_type": "Default",
"pdb_security_shape_type": "sc_ora_default"
}
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
Parameter | Type | Required | Possible Values |
---|---|---|---|
p_nfs_uri | string | true |
Example Data Payload:
{
"p_nfs_uri": "192.168.101.4:/aa12_a939_0002/NFSShareTest"
}
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
resource_prioritization | string | true |
|
enable_tablespace_encryption | boolean | false | |
operation_support_type | string | true |
|
pdb_lockdown_profile_type | string | true |
|
pdb_security_shape_type | string | true |
|
Example Data Payload:
{
"resource_prioritization": "medium",
"enable_tablespace_encryption": true,
"operation_support_type": "7x24h",
"pdb_lockdown_profile_type": "Default",
"pdb_security_shape_type": "sc_ora_default"
}
Restore a PDB from a specific restore point
Parameter | Type | Required | Possible Values |
---|---|---|---|
pdbPitrTimestamp | string | true | /^([2][0][1|2][0-9])-(([0][1-9])|([1][0-2]))-(([0][1-9])|([1-2][0-9])|([3][0-1])) (([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])$/ |
Example Data Payload:
{
"pdbPitrTimestamp": "2022-01-05 10:20:00"
}
Managed Oracle PDB (Highend) can be found under catalog requests.
Credentials Actions
Actions to be executed on a Managed Oracle Database Highend PDB Credentials instance.
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
Managed PostgreSQL
Container Actions
Actions to be executed on a MPDS Container instance.
Adds a Managed PostgreSQL Instance to an existing Managed PostgreSQL Container.
Parameter | Type | Required | Possible Values |
---|---|---|---|
friendly_name | string | true | |
replication_mode | string | true |
|
pg_version_type | string | true |
|
operation_support_type | string | true |
|
ssl_transport | string | true |
|
enable_backup_configuration | boolean | false | |
backup_retention | string | true |
|
enable_backup_encryption | boolean | false |
Example Data Payload:
{
"friendly_name": "mysql-instance",
"replication_mode": "ASYNC",
"pg_version_type": "13",
"operation_support_type": "office hours",
"ssl_transport": "required",
"enable_backup_configuration": true,
"backup_retention": "3",
"enable_backup_encryption": false
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
friendly_name | string | true | |
planName | string | true |
|
vm_cpu_count | number | true |
Example Data Payload:
{
"friendly_name": "mysql-instance",
"planName": "Basic",
"vm_cpu_count": 2
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
p_enable_cid | boolean | true | |
p_confirm | boolean | true |
Example Data Payload:
{
"p_enable_cid": true,
"p_confirm": true
}
Manage Storage Managed PostgreSQL Container
Parameter | Type | Required | Possible Values |
---|---|---|---|
storage_size | number | true | /^[0-9]+$/ |
enable_storage_auto_extend | boolean | true |
|
Example Data Payload:
{
"storage_size": 10,
"enable_storage_auto_extend": true
}
Change Max. Instance Count Managed PostgreSQL Container
Parameter | Type | Required | Possible Values |
---|---|---|---|
maxInstanceCount | string | true |
|
confirm | boolean | true |
Example Data Payload:
{
"maxInstanceCount": "2",
"confirm": true
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
string | |||
string | |||
string | |||
string | |||
string | |||
string |
| ||
string | |||
string | |||
__asd_subtenantRef | string | ||
__asd_tenantRef | string | ||
major_version | string |
|
Example Data Payload:
{
"provider-__containerId": "ae1f24ff-7b96-4ed9-aa2a-e7985e82783f",
"provider-__planId": "f84bcfb7-b012-404b-a590-7acaa8d188d5",
"provider-__serviceId": "c3ddadaa-e53c-4e49-96ee-2e6c7c0ba42a",
"provider-affected_instances": "",
"provider-warning": "The upgrade workflow will restart ALL (!) instances in this container which belongs to the selected major release."
}
Managed PostgreSQL Container can be found under catalog requests.
Instance Actions
Actions to be executed on a MPDS instance.
Parameter | Type | Required | Possible Values |
---|---|---|---|
instance_clone_type | string | false |
|
instance_clone_timestamp | string | false | /^([2][0][1|2][0-9])-(([0][1-9])|([1][0-2]))-(([0][1-9])|([1-2][0-9])|([3][0-1])) (([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])$/ |
target_container_instance_id | string | false | |
__containerId | string | true | |
instance_friendly_name | string | false | |
instance_replication_mode | string | true |
|
instance_operation_support_type | string | false |
|
instance_pg_version_type | string | true |
|
instance_ssl_transport | string | true |
|
instance_enable_backup_configuration | boolean | true | |
instance_backup_retention | string | true |
|
instance_enable_backup_encryption | boolean | false |
Example Data Payload:
{
"instance_clone_type": "snapshot",
"instance_clone_timestamp": "2021-12-03 10:15:30",
"target_container_instance_id": "58b22aae-35f7-4da4-b131-03162d039264",
"__containerId": "58b22aae-35f7-4da4-b131-03162d039264",
"instance_friendly_name": "mpds-instance",
"instance_replication_mode": "ASYNC",
"instance_operation_support_type": "office hours",
"instance_pg_version_type": "13",
"instance_ssl_transport": "required",
"instance_enable_backup_configuration": true,
"instance_backup_retention": "1",
"instance_enable_backup_encryption": true
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
Confirm Deletion | boolean | true |
Example Data Payload:
{
"Confirm Deletion": true
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
friendly_name | string | false | |
operation_support_type | string | false |
|
replication_mode | string | true |
|
ssl_transport | string | true |
|
enable_backup_configuration | boolean | true | |
backup_retention | string | true |
|
enable_backup_encryption | boolean | false | |
confirm_backup_encryption | boolean | true |
Example Data Payload:
{
"friendly_name": "mpds-instance",
"operation_support_type": "office hours",
"replication_mode": "ASYNC",
"ssl_transport": "required",
"enable_backup_configuration": true,
"backup_retention": "1",
"enable_backup_encryption": true,
"confirm_backup_encryption": true
}
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
Restore a MPDS Instance from a specific restore point
Parameter | Type | Required | Possible Values |
---|---|---|---|
instancePitrTimestamp | string | true | /^([2][0][1|2][0-9])-(([0][1-9])|([1][0-2]))-(([0][1-9])|([1-2][0-9])|([3][0-1])) (([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])$/ |
Example Data Payload:
{
"instancePitrTimestamp": "2021-12-12 10:20:00"
}
Credentials Actions
Actions to be executed on a Managed PostgreSQL Credentials instance.
No parameters needed, empty data payload is sufficient.
Example Data Payload:
{}
Managed Reverse Proxy
Use this action to generate and fetch a new certificate signing request from your instance
Parameter | Type | Required | Possible Values |
---|---|---|---|
organization | string | true | |
city | string | true | |
state | string | true | |
country | string | true |
Example Data Payload:
{
"organization": "MyCompany.ch",
"city": "Bern",
"state": "BE",
"country": "CH"
}
Use this action to upload and activate a certificate on your instance
Parameter | Type | Required | Possible Values |
---|---|---|---|
certificate | string | true |
Example Data Payload:
{
"certificate": "-----BEGIN CERTIFICATE----- <certificate> -----END CERTIFICATE-----"
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Use this action to change your instance settings
Parameter | Type | Required | Possible Values |
---|---|---|---|
planName | string | true |
|
description | string | false | |
desiredCertProvider | string | true |
|
dnsIntegration | boolean | true | |
ipAddressFamily | string | true |
|
redirectTls | boolean | true | |
serverAddresses | string | true | |
servicePort | string | true | |
tlsReencrypt | boolean | true |
Example Data Payload:
{
"planName": "S",
"description": "",
"desiredCertProvider": "Public Cert provided by Swisscom",
"dnsIntegration": true,
"ipAddressFamily": "ipv4",
"redirectTls": true,
"serverAddresses": "10.10.10.101",
"servicePort": "1443",
"tlsReencrypt": true
}
Managed Forward Proxy
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Use this action to change your instance settings
Parameter | Type | Required | Possible Values |
---|---|---|---|
planName | string | true |
|
description | string | false | |
dnsIntegration | boolean | true | |
ipAddressFamily | string | true |
|
allowListIpBased | string | false | |
aclSrcIpAllow | string | false | |
allowListDomainBased | string | false | |
denyListIpBased | string | false | |
aclSrcIpDeny | string | false | |
denyListDomainBased | string | false | |
enableSocks | boolean | true |
Example Data Payload:
{
"planName": "S",
"description": "",
"dnsIntegration": true,
"ipAddressFamily": "ipv4",
"allowListIpBased": "10.10.11.0/25",
"aclSrcIpAllow": "255.255.255.0/28",
"allowListDomainBased": ".web.mydomain.com",
"denyListIpBased": "12.10.11.0/25",
"aclSrcIpDeny": "10.122.1.5",
"denyListDomainBased": "*.com.ch",
"enableSocks": true
}
Object Storage S3
Parameter | Type | Required | Possible Values |
---|---|---|---|
instanceName | string | true | /^(?:[A-Za-z_][\w-]{0,40})$/ |
sharedWithSwisscom | boolean | false | |
sharedWithOthers | string | false |
Example Data Payload:
{
"instanceName": "My S3 Service",
"sharedWithSwisscom": false,
"sharedWithOthers": ""
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
Parameter | Type | Required | Possible Values |
---|---|---|---|
displayName | string | true | /^(?:[A-Za-z_][\w-]{0,40})$/ |
permission | string | true |
|
Example Data Payload:
{
"displayName": "My-S3-User",
"permission": "Read/Write"
}
S3 User
Parameter | Type | Required | Possible Values |
---|---|---|---|
confirm | boolean | true |
Example Data Payload:
{
"confirm": true
}
This action cannot be submitted. It is used to read values via the GUI. If you want to read the form values of this action, you have to use the forms API.
Payload for /forms/request/update:
{
"affectedElements": ["provider-accessKeyID", "provider-secretAccessKey"]
}