def METHOD_NAME(self, **kwargs):  # pylint: disable=unused-argument
    properties = self._to_rest_object().properties
    return {
        self._arm_type: {
            ArmConstants.NAME: self.name,
            ArmConstants.VERSION: self.version,
            ArmConstants.PROPERTIES_PARAMETER_NAME: self._serialize.body(properties, "CodeVersionDetails"),
        }
    }