2 Replies Latest reply on Jul 22, 2019 1:18 AM by jonathanvh

    Get Assigned Storage policy of VM

    jonathanvh Enthusiast

      Hi,

       

      We are using Storage Policies for VMs, but I want an automated check via vRealize Orchestrator.

      But I can't seem to find the attached Storage Policy of the VM.

       

      I checked disk per disk, and I see that the IOPS limit has been set.

         storageIOAllocation = (vim.IOAllocationInfo) {
            dynamicType = null,
            dynamicProperty = null,
            limit = 10000,
            shares = (vim.SharesInfo) {
               dynamicType = null,
               dynamicProperty = null,
               shares = 1000,
               level = custom
            },
            reservation = 1
         },
      

       

      Also an other thing I found different after applying the Storage Policy:

       

      From :
      
         iofilter = null,
      
      to
      
         iofilter = (STRING) [
            VMW_spm_1.0.0
         ],
      

       

      (We are not using vCloud Director)