Enable, disable or upgrade one or more modules for tenant. The request body and response body is of the same type TenantModuleDescriptorList. This list includes one or more modules to be enabled, disabled or upgraded. The request is the initial desired changes and the response is the list of changes that must be fulfilled to satisfy dependencies. This service will eventually partially replace /_/proxy/tenants/{tenant}/modules . It also allows enabling multiple modules in one transaction. For simulate=true, the response, can be viewed as a recipe for what must be deployed (optionally) and enabled/disabled by the existing tenants-modules CRUD service.
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"http://localhost:8081/_/proxy/tenants/{tenant_id}/install?preRelease=preRelease_example&npmSnapshot=npmSnapshot_example&async=true&deploy=true&ignoreErrors=true&invoke=invoke_example¶llel=56&purge=true&reinstall=true&simulate=true&tenantParameters=tenantParameters_example&depCheck=true" \
-d '{
"stage" : "pending",
"action" : "enable",
"from" : "from",
"id" : "id",
"message" : "message"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.ProxyTenantInstallationApi;
import java.io.File;
import java.util.*;
public class ProxyTenantInstallationApiExample {
public static void main(String[] args) {
// Create an instance of the API class
ProxyTenantInstallationApi apiInstance = new ProxyTenantInstallationApi();
String tenantId = tenantId_example; // String |
array[TenantModuleDescriptor] tenantModuleDescriptor = ; // array[TenantModuleDescriptor] |
String preRelease = preRelease_example; // String | Whether to use pre-release in operation. "true": use all modules; "false": releases (no pre-releases); "only": only pre-releases.
String npmSnapshot = npmSnapshot_example; // String | Whether to use NPM module snapshots in operation. "true": use all modules; "false": releases (no NPM snapshots); "only": only NPM snapshots.
Boolean async = true; // Boolean | Whether to install in the background.
Boolean deploy = true; // Boolean | Whether to deploy (or undeploy if disabling).
Boolean ignoreErrors = true; // Boolean | Okapi 4.2.0 and later, it is possible to ignore errors during the
install operation. This is done by supplying parameter `ignoreErrors=true`.
In this case, Okapi will try to upgrade all modules in the modules list,
regardless if one of them fails. However, for individual modules, if they
fail, their upgrade will not be committed. This is an experimental parameter
which was added to be able to inspect all problem(s) with module upgrade(s).
String invoke = invoke_example; // String | Whether to invoke for tenant init/permissions/purge. Use
"true" to invoke, "false" to not invoke. Any other value
is a regular expression that is matched against the module ID.
If that pattern matches, invoke is performed (same as "true").
Integer parallel = 56; // Integer | Number of parallel calls to tenant interfaces of modules.
A value of 1 means calls are happening in sequence.
If depCheck=false and parallel>1, the invocation will be rejected.
Boolean purge = true; // Boolean | Disabled modules will also be purged.
Boolean reinstall = true; // Boolean | Whether to install modules even if up-to-update.
Boolean simulate = true; // Boolean | Whether the installation is simulated
String tenantParameters = tenantParameters_example; // String | Parameters for tenant init
Boolean depCheck = true; // Boolean | Whether to check dependencies of modules before being installed. Modules are installed exactly
in the order supplied by the client. If depCheck=false and parallel>1, the invocation will be
rejected.
try {
array[TenantModuleDescriptor] result = apiInstance.createInstallJob(tenantId, tenantModuleDescriptor, preRelease, npmSnapshot, async, deploy, ignoreErrors, invoke, parallel, purge, reinstall, simulate, tenantParameters, depCheck);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProxyTenantInstallationApi#createInstallJob");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final String tenantId = new String(); // String |
final array[TenantModuleDescriptor] tenantModuleDescriptor = new array[TenantModuleDescriptor](); // array[TenantModuleDescriptor] |
final String preRelease = new String(); // String | Whether to use pre-release in operation. "true": use all modules; "false": releases (no pre-releases); "only": only pre-releases.
final String npmSnapshot = new String(); // String | Whether to use NPM module snapshots in operation. "true": use all modules; "false": releases (no NPM snapshots); "only": only NPM snapshots.
final Boolean async = new Boolean(); // Boolean | Whether to install in the background.
final Boolean deploy = new Boolean(); // Boolean | Whether to deploy (or undeploy if disabling).
final Boolean ignoreErrors = new Boolean(); // Boolean | Okapi 4.2.0 and later, it is possible to ignore errors during the
install operation. This is done by supplying parameter `ignoreErrors=true`.
In this case, Okapi will try to upgrade all modules in the modules list,
regardless if one of them fails. However, for individual modules, if they
fail, their upgrade will not be committed. This is an experimental parameter
which was added to be able to inspect all problem(s) with module upgrade(s).
final String invoke = new String(); // String | Whether to invoke for tenant init/permissions/purge. Use
"true" to invoke, "false" to not invoke. Any other value
is a regular expression that is matched against the module ID.
If that pattern matches, invoke is performed (same as "true").
final Integer parallel = new Integer(); // Integer | Number of parallel calls to tenant interfaces of modules.
A value of 1 means calls are happening in sequence.
If depCheck=false and parallel>1, the invocation will be rejected.
final Boolean purge = new Boolean(); // Boolean | Disabled modules will also be purged.
final Boolean reinstall = new Boolean(); // Boolean | Whether to install modules even if up-to-update.
final Boolean simulate = new Boolean(); // Boolean | Whether the installation is simulated
final String tenantParameters = new String(); // String | Parameters for tenant init
final Boolean depCheck = new Boolean(); // Boolean | Whether to check dependencies of modules before being installed. Modules are installed exactly
in the order supplied by the client. If depCheck=false and parallel>1, the invocation will be
rejected.
try {
final result = await api_instance.createInstallJob(tenantId, tenantModuleDescriptor, preRelease, npmSnapshot, async, deploy, ignoreErrors, invoke, parallel, purge, reinstall, simulate, tenantParameters, depCheck);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->createInstallJob: $e\n');
}
import org.openapitools.client.api.ProxyTenantInstallationApi;
public class ProxyTenantInstallationApiExample {
public static void main(String[] args) {
ProxyTenantInstallationApi apiInstance = new ProxyTenantInstallationApi();
String tenantId = tenantId_example; // String |
array[TenantModuleDescriptor] tenantModuleDescriptor = ; // array[TenantModuleDescriptor] |
String preRelease = preRelease_example; // String | Whether to use pre-release in operation. "true": use all modules; "false": releases (no pre-releases); "only": only pre-releases.
String npmSnapshot = npmSnapshot_example; // String | Whether to use NPM module snapshots in operation. "true": use all modules; "false": releases (no NPM snapshots); "only": only NPM snapshots.
Boolean async = true; // Boolean | Whether to install in the background.
Boolean deploy = true; // Boolean | Whether to deploy (or undeploy if disabling).
Boolean ignoreErrors = true; // Boolean | Okapi 4.2.0 and later, it is possible to ignore errors during the
install operation. This is done by supplying parameter `ignoreErrors=true`.
In this case, Okapi will try to upgrade all modules in the modules list,
regardless if one of them fails. However, for individual modules, if they
fail, their upgrade will not be committed. This is an experimental parameter
which was added to be able to inspect all problem(s) with module upgrade(s).
String invoke = invoke_example; // String | Whether to invoke for tenant init/permissions/purge. Use
"true" to invoke, "false" to not invoke. Any other value
is a regular expression that is matched against the module ID.
If that pattern matches, invoke is performed (same as "true").
Integer parallel = 56; // Integer | Number of parallel calls to tenant interfaces of modules.
A value of 1 means calls are happening in sequence.
If depCheck=false and parallel>1, the invocation will be rejected.
Boolean purge = true; // Boolean | Disabled modules will also be purged.
Boolean reinstall = true; // Boolean | Whether to install modules even if up-to-update.
Boolean simulate = true; // Boolean | Whether the installation is simulated
String tenantParameters = tenantParameters_example; // String | Parameters for tenant init
Boolean depCheck = true; // Boolean | Whether to check dependencies of modules before being installed. Modules are installed exactly
in the order supplied by the client. If depCheck=false and parallel>1, the invocation will be
rejected.
try {
array[TenantModuleDescriptor] result = apiInstance.createInstallJob(tenantId, tenantModuleDescriptor, preRelease, npmSnapshot, async, deploy, ignoreErrors, invoke, parallel, purge, reinstall, simulate, tenantParameters, depCheck);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProxyTenantInstallationApi#createInstallJob");
e.printStackTrace();
}
}
}
// Create an instance of the API class
ProxyTenantInstallationApi *apiInstance = [[ProxyTenantInstallationApi alloc] init];
String *tenantId = tenantId_example; // (default to null)
array[TenantModuleDescriptor] *tenantModuleDescriptor = ; //
String *preRelease = preRelease_example; // Whether to use pre-release in operation. "true": use all modules; "false": releases (no pre-releases); "only": only pre-releases. (optional) (default to true)
String *npmSnapshot = npmSnapshot_example; // Whether to use NPM module snapshots in operation. "true": use all modules; "false": releases (no NPM snapshots); "only": only NPM snapshots. (optional) (default to true)
Boolean *async = true; // Whether to install in the background. (optional) (default to false)
Boolean *deploy = true; // Whether to deploy (or undeploy if disabling). (optional) (default to false)
Boolean *ignoreErrors = true; // Okapi 4.2.0 and later, it is possible to ignore errors during the
install operation. This is done by supplying parameter `ignoreErrors=true`.
In this case, Okapi will try to upgrade all modules in the modules list,
regardless if one of them fails. However, for individual modules, if they
fail, their upgrade will not be committed. This is an experimental parameter
which was added to be able to inspect all problem(s) with module upgrade(s).
(optional) (default to false)
String *invoke = invoke_example; // Whether to invoke for tenant init/permissions/purge. Use
"true" to invoke, "false" to not invoke. Any other value
is a regular expression that is matched against the module ID.
If that pattern matches, invoke is performed (same as "true").
(optional) (default to true)
Integer *parallel = 56; // Number of parallel calls to tenant interfaces of modules.
A value of 1 means calls are happening in sequence.
If depCheck=false and parallel>1, the invocation will be rejected.
(optional) (default to 1)
Boolean *purge = true; // Disabled modules will also be purged. (optional) (default to false)
Boolean *reinstall = true; // Whether to install modules even if up-to-update. (optional) (default to false)
Boolean *simulate = true; // Whether the installation is simulated (optional) (default to false)
String *tenantParameters = tenantParameters_example; // Parameters for tenant init (optional) (default to null)
Boolean *depCheck = true; // Whether to check dependencies of modules before being installed. Modules are installed exactly
in the order supplied by the client. If depCheck=false and parallel>1, the invocation will be
rejected.
(optional) (default to true)
[apiInstance createInstallJobWith:tenantId
tenantModuleDescriptor:tenantModuleDescriptor
preRelease:preRelease
npmSnapshot:npmSnapshot
async:async
deploy:deploy
ignoreErrors:ignoreErrors
invoke:invoke
parallel:parallel
purge:purge
reinstall:reinstall
simulate:simulate
tenantParameters:tenantParameters
depCheck:depCheck
completionHandler: ^(array[TenantModuleDescriptor] output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var OkapiCoreApiFacade = require('okapi_core_api_facade');
// Create an instance of the API class
var api = new OkapiCoreApiFacade.ProxyTenantInstallationApi()
var tenantId = tenantId_example; // {String}
var tenantModuleDescriptor = ; // {array[TenantModuleDescriptor]}
var opts = {
'preRelease': preRelease_example, // {String} Whether to use pre-release in operation. "true": use all modules; "false": releases (no pre-releases); "only": only pre-releases.
'npmSnapshot': npmSnapshot_example, // {String} Whether to use NPM module snapshots in operation. "true": use all modules; "false": releases (no NPM snapshots); "only": only NPM snapshots.
'async': true, // {Boolean} Whether to install in the background.
'deploy': true, // {Boolean} Whether to deploy (or undeploy if disabling).
'ignoreErrors': true, // {Boolean} Okapi 4.2.0 and later, it is possible to ignore errors during the
install operation. This is done by supplying parameter `ignoreErrors=true`.
In this case, Okapi will try to upgrade all modules in the modules list,
regardless if one of them fails. However, for individual modules, if they
fail, their upgrade will not be committed. This is an experimental parameter
which was added to be able to inspect all problem(s) with module upgrade(s).
'invoke': invoke_example, // {String} Whether to invoke for tenant init/permissions/purge. Use
"true" to invoke, "false" to not invoke. Any other value
is a regular expression that is matched against the module ID.
If that pattern matches, invoke is performed (same as "true").
'parallel': 56, // {Integer} Number of parallel calls to tenant interfaces of modules.
A value of 1 means calls are happening in sequence.
If depCheck=false and parallel>1, the invocation will be rejected.
'purge': true, // {Boolean} Disabled modules will also be purged.
'reinstall': true, // {Boolean} Whether to install modules even if up-to-update.
'simulate': true, // {Boolean} Whether the installation is simulated
'tenantParameters': tenantParameters_example, // {String} Parameters for tenant init
'depCheck': true // {Boolean} Whether to check dependencies of modules before being installed. Modules are installed exactly
in the order supplied by the client. If depCheck=false and parallel>1, the invocation will be
rejected.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createInstallJob(tenantId, tenantModuleDescriptor, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class createInstallJobExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new ProxyTenantInstallationApi();
var tenantId = tenantId_example; // String | (default to null)
var tenantModuleDescriptor = new array[TenantModuleDescriptor](); // array[TenantModuleDescriptor] |
var preRelease = preRelease_example; // String | Whether to use pre-release in operation. "true": use all modules; "false": releases (no pre-releases); "only": only pre-releases. (optional) (default to true)
var npmSnapshot = npmSnapshot_example; // String | Whether to use NPM module snapshots in operation. "true": use all modules; "false": releases (no NPM snapshots); "only": only NPM snapshots. (optional) (default to true)
var async = true; // Boolean | Whether to install in the background. (optional) (default to false)
var deploy = true; // Boolean | Whether to deploy (or undeploy if disabling). (optional) (default to false)
var ignoreErrors = true; // Boolean | Okapi 4.2.0 and later, it is possible to ignore errors during the
install operation. This is done by supplying parameter `ignoreErrors=true`.
In this case, Okapi will try to upgrade all modules in the modules list,
regardless if one of them fails. However, for individual modules, if they
fail, their upgrade will not be committed. This is an experimental parameter
which was added to be able to inspect all problem(s) with module upgrade(s).
(optional) (default to false)
var invoke = invoke_example; // String | Whether to invoke for tenant init/permissions/purge. Use
"true" to invoke, "false" to not invoke. Any other value
is a regular expression that is matched against the module ID.
If that pattern matches, invoke is performed (same as "true").
(optional) (default to true)
var parallel = 56; // Integer | Number of parallel calls to tenant interfaces of modules.
A value of 1 means calls are happening in sequence.
If depCheck=false and parallel>1, the invocation will be rejected.
(optional) (default to 1)
var purge = true; // Boolean | Disabled modules will also be purged. (optional) (default to false)
var reinstall = true; // Boolean | Whether to install modules even if up-to-update. (optional) (default to false)
var simulate = true; // Boolean | Whether the installation is simulated (optional) (default to false)
var tenantParameters = tenantParameters_example; // String | Parameters for tenant init (optional) (default to null)
var depCheck = true; // Boolean | Whether to check dependencies of modules before being installed. Modules are installed exactly
in the order supplied by the client. If depCheck=false and parallel>1, the invocation will be
rejected.
(optional) (default to true)
try {
array[TenantModuleDescriptor] result = apiInstance.createInstallJob(tenantId, tenantModuleDescriptor, preRelease, npmSnapshot, async, deploy, ignoreErrors, invoke, parallel, purge, reinstall, simulate, tenantParameters, depCheck);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling ProxyTenantInstallationApi.createInstallJob: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\ProxyTenantInstallationApi();
$tenantId = tenantId_example; // String |
$tenantModuleDescriptor = ; // array[TenantModuleDescriptor] |
$preRelease = preRelease_example; // String | Whether to use pre-release in operation. "true": use all modules; "false": releases (no pre-releases); "only": only pre-releases.
$npmSnapshot = npmSnapshot_example; // String | Whether to use NPM module snapshots in operation. "true": use all modules; "false": releases (no NPM snapshots); "only": only NPM snapshots.
$async = true; // Boolean | Whether to install in the background.
$deploy = true; // Boolean | Whether to deploy (or undeploy if disabling).
$ignoreErrors = true; // Boolean | Okapi 4.2.0 and later, it is possible to ignore errors during the
install operation. This is done by supplying parameter `ignoreErrors=true`.
In this case, Okapi will try to upgrade all modules in the modules list,
regardless if one of them fails. However, for individual modules, if they
fail, their upgrade will not be committed. This is an experimental parameter
which was added to be able to inspect all problem(s) with module upgrade(s).
$invoke = invoke_example; // String | Whether to invoke for tenant init/permissions/purge. Use
"true" to invoke, "false" to not invoke. Any other value
is a regular expression that is matched against the module ID.
If that pattern matches, invoke is performed (same as "true").
$parallel = 56; // Integer | Number of parallel calls to tenant interfaces of modules.
A value of 1 means calls are happening in sequence.
If depCheck=false and parallel>1, the invocation will be rejected.
$purge = true; // Boolean | Disabled modules will also be purged.
$reinstall = true; // Boolean | Whether to install modules even if up-to-update.
$simulate = true; // Boolean | Whether the installation is simulated
$tenantParameters = tenantParameters_example; // String | Parameters for tenant init
$depCheck = true; // Boolean | Whether to check dependencies of modules before being installed. Modules are installed exactly
in the order supplied by the client. If depCheck=false and parallel>1, the invocation will be
rejected.
try {
$result = $api_instance->createInstallJob($tenantId, $tenantModuleDescriptor, $preRelease, $npmSnapshot, $async, $deploy, $ignoreErrors, $invoke, $parallel, $purge, $reinstall, $simulate, $tenantParameters, $depCheck);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ProxyTenantInstallationApi->createInstallJob: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::ProxyTenantInstallationApi;
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::ProxyTenantInstallationApi->new();
my $tenantId = tenantId_example; # String |
my $tenantModuleDescriptor = [WWW::OPenAPIClient::Object::array[TenantModuleDescriptor]->new()]; # array[TenantModuleDescriptor] |
my $preRelease = preRelease_example; # String | Whether to use pre-release in operation. "true": use all modules; "false": releases (no pre-releases); "only": only pre-releases.
my $npmSnapshot = npmSnapshot_example; # String | Whether to use NPM module snapshots in operation. "true": use all modules; "false": releases (no NPM snapshots); "only": only NPM snapshots.
my $async = true; # Boolean | Whether to install in the background.
my $deploy = true; # Boolean | Whether to deploy (or undeploy if disabling).
my $ignoreErrors = true; # Boolean | Okapi 4.2.0 and later, it is possible to ignore errors during the
install operation. This is done by supplying parameter `ignoreErrors=true`.
In this case, Okapi will try to upgrade all modules in the modules list,
regardless if one of them fails. However, for individual modules, if they
fail, their upgrade will not be committed. This is an experimental parameter
which was added to be able to inspect all problem(s) with module upgrade(s).
my $invoke = invoke_example; # String | Whether to invoke for tenant init/permissions/purge. Use
"true" to invoke, "false" to not invoke. Any other value
is a regular expression that is matched against the module ID.
If that pattern matches, invoke is performed (same as "true").
my $parallel = 56; # Integer | Number of parallel calls to tenant interfaces of modules.
A value of 1 means calls are happening in sequence.
If depCheck=false and parallel>1, the invocation will be rejected.
my $purge = true; # Boolean | Disabled modules will also be purged.
my $reinstall = true; # Boolean | Whether to install modules even if up-to-update.
my $simulate = true; # Boolean | Whether the installation is simulated
my $tenantParameters = tenantParameters_example; # String | Parameters for tenant init
my $depCheck = true; # Boolean | Whether to check dependencies of modules before being installed. Modules are installed exactly
in the order supplied by the client. If depCheck=false and parallel>1, the invocation will be
rejected.
eval {
my $result = $api_instance->createInstallJob(tenantId => $tenantId, tenantModuleDescriptor => $tenantModuleDescriptor, preRelease => $preRelease, npmSnapshot => $npmSnapshot, async => $async, deploy => $deploy, ignoreErrors => $ignoreErrors, invoke => $invoke, parallel => $parallel, purge => $purge, reinstall => $reinstall, simulate => $simulate, tenantParameters => $tenantParameters, depCheck => $depCheck);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ProxyTenantInstallationApi->createInstallJob: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = openapi_client.ProxyTenantInstallationApi()
tenantId = tenantId_example # String | (default to null)
tenantModuleDescriptor = # array[TenantModuleDescriptor] |
preRelease = preRelease_example # String | Whether to use pre-release in operation. "true": use all modules; "false": releases (no pre-releases); "only": only pre-releases. (optional) (default to true)
npmSnapshot = npmSnapshot_example # String | Whether to use NPM module snapshots in operation. "true": use all modules; "false": releases (no NPM snapshots); "only": only NPM snapshots. (optional) (default to true)
async = true # Boolean | Whether to install in the background. (optional) (default to false)
deploy = true # Boolean | Whether to deploy (or undeploy if disabling). (optional) (default to false)
ignoreErrors = true # Boolean | Okapi 4.2.0 and later, it is possible to ignore errors during the
install operation. This is done by supplying parameter `ignoreErrors=true`.
In this case, Okapi will try to upgrade all modules in the modules list,
regardless if one of them fails. However, for individual modules, if they
fail, their upgrade will not be committed. This is an experimental parameter
which was added to be able to inspect all problem(s) with module upgrade(s).
(optional) (default to false)
invoke = invoke_example # String | Whether to invoke for tenant init/permissions/purge. Use
"true" to invoke, "false" to not invoke. Any other value
is a regular expression that is matched against the module ID.
If that pattern matches, invoke is performed (same as "true").
(optional) (default to true)
parallel = 56 # Integer | Number of parallel calls to tenant interfaces of modules.
A value of 1 means calls are happening in sequence.
If depCheck=false and parallel>1, the invocation will be rejected.
(optional) (default to 1)
purge = true # Boolean | Disabled modules will also be purged. (optional) (default to false)
reinstall = true # Boolean | Whether to install modules even if up-to-update. (optional) (default to false)
simulate = true # Boolean | Whether the installation is simulated (optional) (default to false)
tenantParameters = tenantParameters_example # String | Parameters for tenant init (optional) (default to null)
depCheck = true # Boolean | Whether to check dependencies of modules before being installed. Modules are installed exactly
in the order supplied by the client. If depCheck=false and parallel>1, the invocation will be
rejected.
(optional) (default to true)
try:
api_response = api_instance.create_install_job(tenantId, tenantModuleDescriptor, preRelease=preRelease, npmSnapshot=npmSnapshot, async=async, deploy=deploy, ignoreErrors=ignoreErrors, invoke=invoke, parallel=parallel, purge=purge, reinstall=reinstall, simulate=simulate, tenantParameters=tenantParameters, depCheck=depCheck)
pprint(api_response)
except ApiException as e:
print("Exception when calling ProxyTenantInstallationApi->createInstallJob: %s\n" % e)
extern crate ProxyTenantInstallationApi;
pub fn main() {
let tenantId = tenantId_example; // String
let tenantModuleDescriptor = ; // array[TenantModuleDescriptor]
let preRelease = preRelease_example; // String
let npmSnapshot = npmSnapshot_example; // String
let async = true; // Boolean
let deploy = true; // Boolean
let ignoreErrors = true; // Boolean
let invoke = invoke_example; // String
let parallel = 56; // Integer
let purge = true; // Boolean
let reinstall = true; // Boolean
let simulate = true; // Boolean
let tenantParameters = tenantParameters_example; // String
let depCheck = true; // Boolean
let mut context = ProxyTenantInstallationApi::Context::default();
let result = client.createInstallJob(tenantId, tenantModuleDescriptor, preRelease, npmSnapshot, async, deploy, ignoreErrors, invoke, parallel, purge, reinstall, simulate, tenantParameters, depCheck, &context).wait();
println!("{:?}", result);
}