This KB describes how to assign a Datastore to an Availability Zone and ensure the VMs use a particular Datastore.
Bosh Director with vSphere CPI
This can be achieved using 2 different methods.
Multiple vSphere Clusters
Configure multiple clusters in vCenter, cluster1, cluster2 and cluster3 with each Cluster having its own datastore, cluster1_ds1, cluster2_ds2 and cluster3_ds3.
Configure all datastores, cluster1_ds1, cluster2_ds2 and cluster3_ds3 in vCenter Config in Bosh Director Tile.
Create multiple AZs in Bosh Director Tile, one for each Cluster and so the datastores are not shared across AZs.
When a VM is created in say az1, the vSphere cpi checks what datastores are accessible from az1 and uses that datastore.
Multiple vCenter Configs in Bosh Director Tile
Configure multiple vCenter Config in Bosh Director tile, each with a different datastore.
Then create multiple AZs and specify the vCenter Config under IaaS configuration.