code: func (r ResourceInstance) Phase(rpt ResourceInstancePhaseType) ResourceInstancePhase {
  	return ResourceInstancePhase{
  		ResourceInstance: r,
  		Phase:            rpt,
  	}
  }
docs: // Phase returns a special "phase address" for the receving instance. See the
  // documentation of ResourceInstancePhase for the limited situations where this
  // is intended to be used.