Skip to content

Commit 3ef4365

Browse files
committed
Provide a go language script to create a policy in a series of operations
1 parent efd64f6 commit 3ef4365

File tree

2 files changed

+455
-0
lines changed

2 files changed

+455
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Pre-requisites:
1313
Use the following commands to run the powershell samples.
1414
- `.\Get-NB-Images.ps1 -nbmaster <masterServer> -username <username> -password <password>`
1515
- `.\Get-NB-Jobs.ps1 -nbmaster <masterServer> -username <username> -password <password>`
16+
- `.\New-Policy-StepByStep.ps1 -nbmaster <masterServer> -username <username> -password <password>`
1617

1718
#### Executing the snippets in Python
1819
Pre-requisites:
@@ -38,3 +39,11 @@ Pre-requisites:
3839
Use the following commands to run the curl samples.
3940
- `./get_nb_jobs.sh -master <master_server> -username <username> -password <password>`
4041
- `./get_nb_images.sh -master <master_server> -username <username> -password <password>`
42+
43+
#### Executing the snippets using go
44+
Pre-requisites:
45+
- NetBackup 8.1.1 or higher
46+
- go1.10.2 or higher
47+
48+
Use the following commands to run the go samples.
49+
- `go run ./create_policy_step_by_step.go -nbmaster <master_server> -username <username> -password <password>`

0 commit comments

Comments
 (0)