Create a vSAN Requirements Profile

The following example demonstrates how to create a storage requirements profile based on vSphere vSAN storage capabilities. The example creates a requirement profile for vSAN stripe width.

The following figure shows the data objects used for a profile specification.

Figure 1. Storage Profile Specification

The following example is based on the Storage Policy SDK sample file CreateVSANProfile.java. This example is divided into two code fragments.