Use ResourceDefinition to generate UpdatePolicy

Change-Id: I08cedd0fb9c7b804a4bf9dd5233f7b9060337a71
Merge "Use ResourceDefinition to generate UpdatePolicy"