LoadConfiguration
Trigger this action to execute a number of other actions in one POST operation.
The request payload contains multiple objects and files that are otherwise used in single POST requests. The objects and files have the same format as they have if they are used in their dedicated actions.
Use the HTTP POST method with the resource
/mgmt/actionqueue/default
, specifying
a request payload with the following
format:{
"LoadConfiguration": {
"action_1": {
action_parameters,
}
"action_2": {
action_parameters,
}
...
"action_n": {
action_parameters,
}
}
- action
- String
- action_parameters
- Parameters requred for the requested action.
Example
This
LoadConfiguration
payload uses three kinds of object and file information
to create a file.- Set values to create the object by using the
CryptoKey
name. - Specify the file to create by using the
file
name. - Provide a password alias for the file to create.
{
"LoadConfiguration":{
"CryptoKey": {
"name": "DEFAULTKEY",
"mAdminState": "enabled",
"Filename": "sharedcert:///default.p12",
"PasswordAlias": "a4"
},
"file":{
"path": "/sharedcert/default.p12",
"content": "PCEtLSB0aGlzIGZpbGUgY29udGFpbnMgc3RhdGljIHN0cmluZ3MgZGVmaW5lZCBieSB0
aGUgV1MtQWRkcmVzc2luZyBzcGVjaWZpY2F0aW9uIC0tPgoKPCFFTlRJVFkgd3NhLWZhdWx0ICJodHRwOi8vc2
NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA0LzA4L2FkZHJlc3NpbmcvZmF1bHQiPgo8IUVOVElUWSB3c2EtYW5v
biAgImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDQvMDgvYWRkcmVzc2luZy9yb2xlL2Fub255bW
91cyI+CgoKCg=="
},
"PasswordAlias": {
"name": "a4",
"mAdminState": "enabled",
"Password": "p1"
}
}
}