Skip to content

Commit 9dc1e3f

Browse files
committed
Read me file conflicts
1 parent edd2595 commit 9dc1e3f

File tree

4 files changed

+62
-28
lines changed

4 files changed

+62
-28
lines changed

README.md

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,44 +14,20 @@ Pre-requisites:
1414
- NetBackup 8.1.1 or higher
1515
- See the script's README for the corresponding requirements and usage
1616

17-
#### Executing the recipes in Perl
1817

19-
Pre-requisites:
20-
- NetBackup 8.1.2 or higher
21-
- Perl 5.20.2 or higher
18+
#### Executing the recipes for different programming languages
2219

23-
Use the following commands to run the perl samples.
24-
- `perl create_policy_step_by_step.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
25-
- `perl create_policy_in_one_step.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
26-
- `perl rbac_filtering_in_policy.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
27-
- `perl api_requests_images.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
28-
- `perl api_requests_image_contents.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
29-
30-
#### Executing the recipes in Python
20+
The `recipes` folder contains code samples to invoke NetBackup REST API using different programming languages.
3121

3222
Pre-requisites:
33-
- NetBackup 8.1.2 or higher
34-
- python 3.5 or higher
35-
- python modules: `requests`
3623

37-
<<<<<<< HEAD
38-
#### Executing the recipes in PowerShell
39-
Pre-requisites:
4024
- NetBackup 8.1.2 or higher
41-
- PowerShell 4.0 or higher
25+
- See the script's README for the corresponding requirements and usage
4226

43-
Use the following commands to run the PowerShell samples.
44-
- `.\create_policy_in_one_step.ps1 -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
45-
- `.\rbac_filtering_in_policy.ps1 -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
46-
=======
47-
Use the following commands to run the python samples.
48-
- `python -W ignore create_policy_step_by_step.py -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
49-
- `python -W ignore create_policy_in_one_step.py -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
50-
- `python -W ignore rbac_filtering_in_policy.py -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
5127

5228

5329
#### Tools
5430
The `tools` folder contains utilities that have proven useful in the development of projects using
5531
NetBackup REST APIs, but do not provide any API usage examples. Again, these tools are not for
5632
production use, but they may be of some use in your work.
57-
>>>>>>> master
33+

recipes/perl/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
### NetBackup API Code Samples for perl
2+
3+
This directory contains code samples to invoke NetBackup REST APIs using perl.
4+
5+
#### Disclaimer
6+
7+
These scripts are only meant to be used as a reference. If you intend to use them in production, use it at your own risk.
8+
9+
#### Pre-requisites:
10+
11+
- NetBackup 8.1.2 or higher
12+
- Perl 5.20.2 or higher
13+
14+
#### Executing the recipes in perl
15+
16+
Use the following commands to run the perl samples.
17+
- `perl create_policy_step_by_step.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
18+
- `perl create_policy_in_one_step.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
19+
- `perl rbac_filtering_in_policy.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
20+
- `perl api_requests_images.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
21+
- `perl api_requests_image_contents.pl -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`

recipes/powershell/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
### NetBackup API Code Samples for PowerShell
2+
3+
This directory contains code samples to invoke NetBackup REST APIs using PowerShell.
4+
5+
#### Disclaimer
6+
7+
These scripts are only meant to be used as a reference. If you intend to use them in production, use it at your own risk.
8+
9+
#### Executing the recipes in PowerShell
10+
11+
Pre-requisites:
12+
- NetBackup 8.1.2 or higher
13+
- PowerShell 4.0 or higher
14+
15+
Use the following commands to run the PowerShell samples.
16+
- `.\create_policy_in_one_step.ps1 -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
17+
- `.\rbac_filtering_in_policy.ps1 -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`

recipes/python/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
### NetBackup API Code Samples for Python
2+
3+
This directory contains code samples to invoke NetBackup REST APIs using Python.
4+
5+
#### Disclaimer
6+
7+
These scripts are only meant to be used as a reference. If you intend to use them in production, use it at your own risk.
8+
9+
#### Executing the recipes in Python
10+
11+
Pre-requisites:
12+
- NetBackup 8.1.2 or higher
13+
- python 3.5 or higher
14+
- python modules: `requests`
15+
16+
17+
Use the following commands to run the python samples.
18+
- `python -W ignore create_policy_step_by_step.py -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
19+
- `python -W ignore create_policy_in_one_step.py -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`
20+
- `python -W ignore rbac_filtering_in_policy.py -nbmaster <masterServer> -username <username> -password <password> [-domainName <domainName>] [-domainType <domainType>]`

0 commit comments

Comments
 (0)