@@ -189,6 +189,11 @@ func ResourceIBMPIVolume() *schema.Resource {
189189 Description : "Mirroring state for replication enabled volume" ,
190190 Type : schema .TypeString ,
191191 },
192+ Attr_OutOfBandDeleted : {
193+ Computed : true ,
194+ Description : "Indicates if the volume does not exist on storage controller." ,
195+ Type : schema .TypeBool ,
196+ },
192197 Attr_PrimaryRole : {
193198 Computed : true ,
194199 Description : "Indicates whether 'master'/'auxiliary' volume is playing the primary role." ,
@@ -378,12 +383,13 @@ func resourceIBMPIVolumeRead(ctx context.Context, d *schema.ResourceData, meta i
378383 if vol .DeleteOnTermination != nil {
379384 d .Set (Attr_DeleteOnTermination , vol .DeleteOnTermination )
380385 }
386+ d .Set (Arg_ReplicationEnabled , vol .ReplicationEnabled )
381387 d .Set (Attr_GroupID , vol .GroupID )
382388 d .Set (Attr_IOThrottleRate , vol .IoThrottleRate )
383389 d .Set (Attr_MasterVolumeName , vol .MasterVolumeName )
384390 d .Set (Attr_MirroringState , vol .MirroringState )
391+ d .Set (Attr_OutOfBandDeleted , vol .OutOfBandDeleted )
385392 d .Set (Attr_PrimaryRole , vol .PrimaryRole )
386- d .Set (Arg_ReplicationEnabled , vol .ReplicationEnabled )
387393 d .Set (Attr_ReplicationSites , vol .ReplicationSites )
388394 d .Set (Attr_ReplicationStatus , vol .ReplicationStatus )
389395 d .Set (Attr_ReplicationType , vol .ReplicationType )
0 commit comments