![acronis home page acronis home page](http://img.bhs4.com/C5/8/C58DFF32D242DF85BC88A4A186284EB80C899AFA_large.jpg)
It's MIT license.Ĭontains default configuration values for the scripts. The results of code-edition or code-writing exercises. Get the list of all alerts with pagination. Get the list of all activities with pagination. Get the list of all tasks with pagination. Get the list of all alerts competed during the last week. Get the list of all activities competed during the last week. Get the list of all tasks competed during the last week.ġ3.get-all-activities-for-the-last-week.sh Get list of all Acronis Agents for tenants subtree where the root tenant is a previously created customer.
![acronis home page acronis home page](https://media.kingston.com/support/images/support-acronis-2016-select-source.png)
Get list of all Acronis Agents for tenants subtree where the root tenant is a tenant for which an API Client is created. The script asks for username to create.Ĭreate an one time report to dave for the root tenant, wait till its creation and download.Ĭreate an Agent installation token for a user tenant.Ī sample to installing the Agent installation with no user prompts with default settings using an Agent installation token to register at the Acronis Cyber Cloud. For your solutions, please, implement secured storage for a JWT token info as they are credentials to access the API.Ĭreates a partner with name MyBashPartner and enables all available offering items dor them for an edition, specified in json configuration files and .json.Ĭreates a customer for MyBashPartner with name MyBashCustomer and enables all available offering items dor them for an edition, specified in json configuration files and .json.Ĭreates a user for MyBashCustomer and activate them by setting a password. The result of the script is stored in clear text api_token.json file.
![acronis home page acronis home page](https://askme4tech.com/sites/default/files/2020-05/acronis-true-image.jpg)
During the sanity checks in 01.basic_api_checks.sh an expiration time for the current token is checked and a token is reissued if needed.
#Acronis home page password
The scrip asks for login and password to create an API Client. For your solutions, please, implement secured storage for client_id, client_secret as they are credentials to access the API. The result of the script is stored in clear text api_client.json file. For Acronis Cyber Protect (Acronis Cyber Cloud 9.0) the Management Console can be used to create an API Client. It's included in each file except 00.basis_functions.sh, 01.create-api-client.sh and 02.issue_token.sh.Ĭreates an API Client ( client_id, client_secret) to generate a JWT token and access the API. It's included in each file except 01.basic_api_checks.sh.īase sanity checks need to be performed before the API calls.
#Acronis home page code
Please, check Code Directory for details.Ĭontains code basis functions to call the API: _get_api_call_basic, _get_api_call_bearer, _get_api_call_bearer_with_response_code, _post_api_call_basic, _post_api_call_bearer and _put_api_call_bearer as well as other utility functions described at the end of the manual. !!! note The GitHub repository contains not only code for this Hans-on Lab but other advanced code examples. Base Acronis Cyber Platform API operations with bash