Skip to content

Commit

Permalink
remove older versions of vCenter Server 6.5/6.7 (#169)
Browse files Browse the repository at this point in the history
Signed-off-by: Kunal Singh <[email protected]>
  • Loading branch information
kunalpmj authored Oct 18, 2022
1 parent 924928a commit 578b284
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ JDK 1.8.

## Supported OnPrem vCenter Releases:

vCenter 6.5, 6.7, 6.7U1, 6.7U2, 6.7U3, 7.0, 7.0U1, 7.0U2, 7.0U2mp1, 7.0U3, 8.0
vCenter 7.0, 7.0U1, 7.0U2, 7.0U3, 8.0

Please refer to the notes in each sample for detailed compatibility information.

Expand All @@ -53,7 +53,7 @@ Before you can run the SDK samples we'll need to walk you through the following
### Setting up maven
The SDK requires maven to build the samples.
1. Download the latest maven from <https://maven.apache.org/download.cgi> and extract it to your machine.
2. Install JDK8 and set JAVA_HOME to the directory where JDK is installed.
2. Install JDK 8 and set JAVA_HOME to the directory where JDK is installed.
```` bash
export JAVA_HOME=<jdk-install-dir>
````
Expand Down Expand Up @@ -91,9 +91,9 @@ When running the samples, parameters can be provided either on the command line,

Use a command like the following to display usage information for a particular sample.
```` bash
$java -ea -cp target/vsphere-samples-7.0.2.0.jar vmware.samples.vcenter.vm.list.ListVMs
$java -ea -cp target/vsphere-samples-8.0.0.1.jar vmware.samples.vcenter.vm.list.ListVMs

java -cp target/vsphere-samples-7.0.2.0.jar vmware.samples.vcenter.vm.list.ListVMs [--config-file <CONFIGURATION FILE>]
java -cp target/vsphere-samples-8.0.0.1.jar vmware.samples.vcenter.vm.list.ListVMs [--config-file <CONFIGURATION FILE>]
--server <SERVER> --username <USERNAME> --password <PASSWORD> --cluster <CLUSTER> [--truststorepath <ABSOLUTE PATH OF JAVA TRUSTSTORE FILE>]
[--truststorepassword <JAVA TRUSTSTORE PASSWORD>] [--cleardata] [--skip-server-verification]

Expand All @@ -117,17 +117,17 @@ Sample Options:

Use a command like the following to run a sample using only command line parameters:
```` bash
$java -ea -cp target/vsphere-samples-7.0.2.0.jar vmware.samples.vcenter.vm.list.ListVMs --server servername --username [email protected] --password password --skip-server-verification
$java -ea -cp target/vsphere-samples-8.0.0.1.jar vmware.samples.vcenter.vm.list.ListVMs --server servername --username [email protected] --password password --skip-server-verification
````

Use a command like the following to run a sample using only a configuration file:
```` bash
$java -ea -cp target/vsphere-samples-7.0.2.0.jar vmware.samples.vcenter.vm.list.ListVMs --config-file sample.properties
$java -ea -cp target/vsphere-samples-8.0.0.1.jar vmware.samples.vcenter.vm.list.ListVMs --config-file sample.properties
````

Use the following command to run the sample using a combination of configuration file and command line parameters:
```` bash
$java -ea -cp target/vsphere-samples-7.0.2.0.jar vmware.samples.vcenter.vm.list.ListVMs --config-file sample.properties --server servername
$java -ea -cp target/vsphere-samples-8.0.0.1.jar vmware.samples.vcenter.vm.list.ListVMs --config-file sample.properties --server servername
````

### Importing the samples to eclipse
Expand Down Expand Up @@ -158,7 +158,6 @@ This will import a basic sample class to your package, which you can then custom
* [VMware vSphere JAVA APIs 8.0.0.1 (latest version)](https://vmware.github.io/vsphere-automation-sdk-java/vsphere/8.0.0.1/vsphereautomation-client-sdk/index.html).

* Previous releases: VMware vSphere JAVA APIs [8.0.0.0](https://vmware.github.io/vsphere-automation-sdk-java/vsphere/8.0.0.0/vsphereautomation-client-sdk/index.html),
[7.0.3.2](https://vmware.github.io/vsphere-automation-sdk-java/vsphere/7.0.3.2/vsphereautomation-client-sdk/index.html),
[7.0.3.0](https://vmware.github.io/vsphere-automation-sdk-java/vsphere/7.0.3.0/vsphereautomation-client-sdk/index.html),
[7.0.2.00100](https://vmware.github.io/vsphere-automation-sdk-java/vsphere/7.0.2.0/vsphereautomation-client-sdk/index.html),
[7.0.1.0](https://vmware.github.io/vsphere-automation-sdk-java/vsphere/7.0.1.0/vsphereautomation-client-sdk/index.html),
Expand Down

0 comments on commit 578b284

Please sign in to comment.