@@ -5,29 +5,13 @@ Contains code samples to invoke NetBackup REST API using different programming l
55#### Disclaimer
66These scripts are only meant to be used as a reference. Please do not use these in production.
77
8- #### Executing the snippets in PowerShell
9- Pre-requisites:
10- - NetBackup 8.1.1 or higher
11- - Powershell 5.0 or higher
8+ #### Executing the snippets for different programming languages
129
13- Use the following commands to run the powershell samples.
14- - ` .\Get-NB-Images.ps1 -nbmaster <masterServer> -username <username> -password <password> `
15- - ` .\Get-NB-Jobs.ps1 -nbmaster <masterServer> -username <username> -password <password> `
10+ The ` snippets ` folder contains code samples to invoke NetBackup REST API using different programming languages.
1611
17- #### Executing the snippets in Python
1812Pre-requisites:
1913- NetBackup 8.1.1 or higher
20- - python 3.5 or higher
21- - python modules: ` requests, texttable `
22-
23- Use the following commands to run the python samples.
24- - ` python -W ignore get_nb_images.py -nbmaster <masterServer> -username <username> -password <password> `
25- - ` python -W ignore get_nb_jobs.py -nbmaster <masterServer> -username <username> -password <password> `
26-
27- #### Executing the snippets in Perl
28- Pre-requisites:
29- - NetBackup 8.1.1 or higher
30- - See script README for perl requirements and usage
14+ - See the script's README for the corresponding requirements and usage
3115
3216#### Executing the recipes in Perl
3317Pre-requisites:
@@ -38,4 +22,9 @@ Use the following commands to run the perl samples.
3822- ` perl create_policy_step_by_step.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>] `
3923- ` perl create_policy_in_one_step.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>] `
4024- ` perl api_requests_images.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>] `
41- - ` perl api_requests_image_contents.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>] `
25+ - ` perl api_requests_image_contents.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>] `
26+
27+ #### Tools
28+ The ` tools ` folder contains utilities that have proven useful in the development of projects using
29+ NetBackup REST APIs, but do not provide any API usage examples. Again, these tools are not for
30+ production use, but they may be of some use in your work.
0 commit comments